Module quickdash::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

Functions

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