sff_lib
library
Functions
-
compareFilesEquality(File file1, File file2)
→ Future<bool>
-
comparing two files for identity by content
-
copyDirRec(Directory dirIn, Directory dirOut, [bool isCopyFile = true])
→ Stream<(File, File)>
-
Recursively copying a file with its contents
-
findDuplicates(List<Directory> dirs, {File? file, bool filter(String)?})
→ Stream<(File, File)>
-
Stream the channel that transmits (File, File) the original file and its duplicate
-
generateHashFile(File file, [Hash hashMethod = sha1])
→ Future<Digest>
-
Method that generates a hash code from the contents of a file
-
moveDir(Directory dir1, Directory dir2)
→ Stream<(File, File)>
-
Recursively copying a file with its contents, and deletes the copied content.
-
recListFile(Directory dir)
→ Stream<File>
-
recursively traverses contents of the directory, and returns the File type.
-
syncDir(Directory dir1, Directory dir2)
→ Stream<(File, File)>
-
recursively copies the contents from the first directory
to another, and then in the same way but on the reverse