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

Function read_git_tree

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

Source from the content-addressed store, hash-verified

3246}
3247
3248fn read_git_tree(
3249 git: &GitRepository,
3250 tree: &git2::Tree<'_>,
3251) -> CliResult<BTreeMap<String, Vec<u8>>> {
3252 let mut files = BTreeMap::new();
3253 collect_git_tree(git, tree, "", &mut files)?;
3254 Ok(files)
3255}
3256
3257fn collect_git_tree(
3258 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