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

Function files

atomic-cli/src/commands/git/shim.rs:3457–3462  ·  view source on GitHub ↗
(entries: &[(&str, &[u8])])

Source from the content-addressed store, hash-verified

3455 }
3456
3457 fn files(entries: &[(&str, &[u8])]) -> BTreeMap<String, Vec<u8>> {
3458 entries
3459 .iter()
3460 .map(|(path, content)| ((*path).to_string(), content.to_vec()))
3461 .collect()
3462 }
3463
3464 fn init_git_with_commit(root: &Path, branch: &str) {
3465 let repository = GitRepository::init(root).unwrap();

Calls 2

collectMethod · 0.45
iterMethod · 0.45