FileSystemDirectory DeepCopyTo Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Performs a deep copy of this directory into another directory that may belong to a different file system. This method allows to copy directory trees between different file systems i.e. from SVN into AmazonS3 or local file system etc.

Namespace: NFX.IO.FileSystem
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public void DeepCopyTo(
	FileSystemDirectory target,
	FileSystemDirectory..::..DirCopyFlags flags = FileSystemDirectory..::..DirCopyFlags.All,
	int bufferSize = 65536,
	Func<FileSystemSessionItem, bool> filter = null,
	Func<FileSystemSessionItem, bool> cancel = null
)

Parameters

target
Type: NFX.IO.FileSystem FileSystemDirectory
Target directory where the files will be placed. It's name does not have to be the same as the source's name
flags (Optional)
Type: NFX.IO.FileSystem FileSystemDirectory DirCopyFlags
Copy flags that specify what to copy
bufferSize (Optional)
Type: OnlineSystem Int32
Copy buffer size
filter (Optional)
Type: OnlineSystem Func FileSystemSessionItem, OnlineBoolean 
Optional filter function
cancel (Optional)
Type: OnlineSystem Func FileSystemSessionItem, OnlineBoolean 
Optional cancellation function. Return true to abort copying
See Also