utils/copy library

Classes

ChildCopy
CopyEntity
CopyOptions
Copy options.
CreateOptions
Create options.
DeleteOptions
Delete options.
TopCopy
TopEntity
TopSourceNode

Properties

copyNewerOptions CopyOptions
Only copy if date is new.
no setter
defaultCloneOptions CopyOptions
Default clone tries to link first.
no setter
defaultCopyOptions CopyOptions
Default copy is recursive.
no setter
defaultCreateOptions CreateOptions
recursive by default
final
defaultDeleteOptions DeleteOptions
Delete options default, delete recursively.
final
defaultRecursiveCreateOptions CreateOptions
Default recursive create options.
final
defaultRecursiveDeleteOptions DeleteOptions
Delete recursively options
final
fsCopyDebug bool
Set debug flag for copy (dev only)
getter/setter pair
fsDeleteDebug bool
Set debug flag for delete (dev only)
getter/setter pair
recursiveLinkOrCopyNewerOptions CopyOptions
Only link (or copy if not possible) new files.
no setter

Functions

copyDirectory(Directory src, Directory? dst, {CopyOptions? options}) Future<Directory>
Copy a directory
copyDirectoryListFiles(Directory src, {CopyOptions? options}) Future<List<File>>
List the files to be copied
copyFile(File src, File dst, {CopyOptions? options}) Future<File>
Copy a file.
copyFileSystemEntity(FileSystemEntity src, FileSystemEntity dst, {CopyOptions? options}) Future<FileSystemEntity>
Copy a file or a directory
createDirectory(Directory dir, {CreateOptions? options}) Future<Directory>
Create a directory recursively
createFile(File file, {CreateOptions? options}) Future<File>
Create a directory recursively
deleteDirectory(Directory dir, {DeleteOptions? options}) Future
Delete a directory recursively.
deleteFile(File file, {DeleteOptions? options}) Future
Delete a file recursively.
fsTopEntity(FileSystemEntity entity) TopEntity
topEntityPath(FileSystem fs, String top) TopEntity