directory_hash
directory_hash(directory, files=None, base=None, bits=None, id_generator=None):
LLM Docstring
Hash the contents of a directory’s files.
directory:strthe directory path
files:Iterable[str] | Nonethe file names to include (defaults to all)
base:int | Nonethe string-encoding base
bits:int | Nonetruncate the digest to this many bytes
id_generator:Anythe id encoding
:returns:_the directory hash