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

Function commit_all

atomic-cli/tests/it/git_import_tree_shape_regression.rs:79–82  ·  view source on GitHub ↗
(root: &Path, message: &str)

Source from the content-addressed store, hash-verified

77}
78
79fn commit_all(root: &Path, message: &str) {
80 git(root, &["add", "-A"]);
81 git(root, &["commit", "-q", "-m", message]);
82}
83
84fn rendered_on_main(root: &Path, path: &str) -> Vec<u8> {
85 let repo = atomic_repository::Repository::open(root).unwrap();

Calls 1

gitFunction · 0.70

Tested by

no test coverage detected