Skip to main content

collect_tree

Function collect_tree 

Source
pub fn collect_tree(root: &Path) -> Result<Vec<(String, Vec<u8>)>>
Expand description

Collect all files under root as (relative_path, bytes) pairs, skipping .git. Used for tree hashing.