lib.common.hashing

Package lib :: Package common :: Module hashing |
[hide private]
[frames] | no frames]

# Module hashing

source code

Functions | [hide private]
hash_file(method, path) Calculates an hash on a file by path. | source code

Variables | [hide private]
| BUFSIZE = `1048576`
| __package__ = `None`

Function Details | [hide private]

### hash_file(method, path) | source code
Calculates an hash on a file by path. Parameters: `method` - callable hashing method `path` - file path Returns: computed hash string