MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / read_git_tree

Function read_git_tree

atomic-cli/src/commands/git/shim.rs:3204–3211  ·  view source on GitHub ↗
(
    git: &GitRepository,
    tree: &git2::Tree<'_>,
)

Source from the content-addressed store, hash-verified

3202}
3203
3204fn read_git_tree(
3205 git: &GitRepository,
3206 tree: &git2::Tree<'_>,
3207) -> CliResult<BTreeMap<String, Vec<u8>>> {
3208 let mut files = BTreeMap::new();
3209 collect_git_tree(git, tree, "", &mut files)?;
3210 Ok(files)
3211}
3212
3213fn collect_git_tree(
3214 git: &GitRepository,

Callers 2

git_head_pathsFunction · 0.85
git_branch_pathsFunction · 0.85

Calls 1

collect_git_treeFunction · 0.85

Tested by

no test coverage detected