API
Hash a file into a unique str.
>>> read_json("path\to\json.json") {"A": 1, "B": 2} >>> hash_file_content(str(file_content)) "d3fad5bdf9"
file_content (str) – File content
len_param (int) – Length parameter for the hash (length of the key will be 2x this number)
Hashed file content
str
previous
sertit.files.get_root_path
next
sertit.files.is_writable