Module operations

Source
Expand description

Main functions doing actual work.

Use create_hashes() to prepare the hashes for a path.

Then use write_hashes() to save it to disk, or read_hashes() to get the saved hashes, them with compare_hashes() and print them with write_hash_comparison_results().

Enums§

CompareError
CompareFileResult
CompareResult

Functions§

compare_hashes
Compare two provided hashes
create_hashes
Create subpath->hash mappings for a given path using a given algorithm up to a given depth.
read_hashes
Read uppercased hashes with write_hashes() from the specified path or fail with line numbers not matching pattern.
write_hash_comparison_results
Write hash comparison results to the output streams in a human-consumable format
write_hashes
Serialise the specified hashes to the specified output file.