Show / Hide Table of Contents

Enum CopyFile.Progress

Provides the progress of a recursive copy operation

Namespace: Darwin
Assembly: CopyFile.dll
Syntax
public enum CopyFile.Progress

Fields

Name Description
CopyData

Invoked on every write call. The second argument will either be Stage.Progress, or Stage.Error. The amount of data copied so far can be retrieved from the State.Copied property.

CopyXattr

Invoked when copying is copying extended attributes. The name of the extended attribute being copied will be on the State.XattrName property. Any attribute skipped by returning Skip from the Start callback will not be placed into the packed output file.

Directory

The object being copied is a directory, and is being entered. (That is, none of the filesystem objects contained within the directory have been copied yet.)

DirectoryCleanup

The object being copied is a directory, and all of the objects contained have been copied. At this stage, the destination directory being copied will have any extra permissions that were added to allow the copying will be removed.

Error

There was an error in processing an element of the source hierarchy; this happens when fts(3) returns an error or unknown file type. (Currently, the second argument to the call-back function will always be Progress.Error in this case.)

File

The object being copied is a file (or, rather, something other than a directory).

Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX