akkudoktoreos.core.version.hash_files
- akkudoktoreos.core.version.hash_files(files: list[Path]) str
Calculate SHA256 hash of file contents.
- Parameters:
files – list of files to hash (order matters!)
- Returns:
SHA256 hex digest
Example
>>> files = [Path('file1.py'), Path('file2.py')] >>> hash_value = hash_files(files)