file_copy 1.0.7 file_copy: ^1.0.7 copied to clipboard
Package for copy files, directories, links. You can watch the copying process.
Package features #
- copying files;
- recursive copying of directories;
- monitor the progress of copying.
Using #
The CopyFile
class contains methods:
copyFile
- copies the file;watchCopyFile
- copies the file, returns the stream with the progress of copying the file, ends the stream when copying is completed;copyDirectory
- copies the directory recursively;watchCopyDirectory
- copies the directory, returns the stream with the progress of copying the file, ends the stream when copying is completed;copyLink
- copies the link.