mutapath.MutaPath.read_hexhash

MutaPath.read_hexhash(hash_name)[source]

Calculate given hash for this file, returning hexdigest.

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