Crate fdups

Source

Macros§

print_filepath

Constants§

BUFFER_SIZE
Use a constant for file buffer size, making it easier to modify if needed

Functions§

find_duplicates_with_hasher_cache
Finds duplicates among potential duplicate.
find_potential_duplicates
Given a hashmap of files grouped by size, returns a vector of potential duplicate files.
find_remove_duplicates
Finds and Removes(if set) duplicate files in a directory tree.
full_hash_file
Computes the blake2b hash of a file.
group_files_by_size
This function groups all the files at the given path by their size.
partial_hash_file
Create a partial_hash_file function
process_duplicates
Processes the detected duplicates and removes them if delete flag is set.