torchcell.data.file_sha256

file_sha256(path: str | Path, chunk_size: int = 1048576) → str[source]

Hex sha256 of a file’s bytes (symlinks are followed), read in chunks.