Module checksums::ops [] [src]

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 hashes saved with write_hashes() from the specified path.

write_hash_comparison_results
write_hashes

Serialise the specified hashes to the specified output file.