Module hasher

Source
Expand description

Contains hashing related functions This module contains functions for hashing files and checking if they have changed.

Functionsยง

get_hash
Returns the hash of a file if it exists in the path_hash. Otherwise returns None.
is_file_changed
Checks if a file has changed.
load_hashes_from_file
Loads the hashes from a file and returns them as a hashmap.
save_hash
Saves the hash of a file to the hashmap.
save_hashes_to_file
Saves the hashes to a file.