[][src]Crate folder_compare

A library to recursively compare files in two folders and return two lists of files: One with new files and one with changed files.

folder_compare also takes a list of Strings acting as exclude patterns using RegexSet.

Overall the functionality is comparable to a diff -rq folder1 folder2 -X excludepatterns.pat on unix like systems

For recognizing changed files, hashing with FxHasher is used.



Wrapper for possible errors



Does the comparison between two Path directories and delivers two lists of PathBuf containing changed and new (only existing in first Directory) files. It takes a Vec<&str> as argument for excluding specific substrings in the path (e.g. file extensions like .txt).