Method | Description | |
---|---|---|
CopyDirectory ( [ sourcePath, [ destinationPath, bool preserveDirectoryTimestamps = true, bool overwrite = false ) : System |
Creates a new directory copy task.
|
Method | Description | |
---|---|---|
CopyFile ( [ sourceFile, [ destinationFile ) : void |
Copies a single file from one location to another. Can be overridden to modify the copying behavior.
|
|
CreateSymlink ( [ linkPath, [ linkTarget ) : void |
Creates a Unix symbolic link. Can be overridden to modify the symlinking behavior.
|
|
Execute ( ) : void |
Method | Description | |
---|---|---|
CopyDirectories ( IEnumerable |
||
CopyDirectoryTimestamps ( IEnumerable |
||
CopyFiles ( IEnumerable |
||
PathInDestination ( |
public CopyDirectory ( [ sourcePath, [ destinationPath, bool preserveDirectoryTimestamps = true, bool overwrite = false ) : System | ||
sourcePath | [ | The path of source directory. Must exist! |
destinationPath | [ | The path of the target directory. May exist. Must be empty if |
preserveDirectoryTimestamps | bool | |
overwrite | bool | Overwrite exisiting files and directories at the |
return | System |
protected CopyFile ( [ sourceFile, [ destinationFile ) : void | ||
sourceFile | [ | |
destinationFile | [ | |
return | void |
protected CreateSymlink ( [ linkPath, [ linkTarget ) : void | ||
linkPath | [ | The path of the link to create. |
linkTarget | [ | The path of the existing file or directory to point to (relative to |
return | void |