Skip to main content

Module fs

Module fs 

Source

Functions§

collect_tree
Collect all files under root as (relative_path, bytes) pairs, skipping .git. Used for tree hashing.
copy_dir
Recursively copy src into dest, skipping .git.
hash_dir
Compute the SHA-256 tree hash of a directory.