mutapath.MutaPath.read_hash

MutaPath.read_hash(hash_name)[source]

Calculate given hash for this file.

List of supported hashes can be obtained from hashlib package. This reads the entire file.