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

Function init_atomic

atomic-cli/tests/it/git_shim_cb0d_test.rs:38–41  ·  view source on GitHub ↗
(root: &Path, home: &Path, view: &str)

Source from the content-addressed store, hash-verified

36}
37
38fn init_atomic(root: &Path, home: &Path, view: &str) {
39 let output = atomic(root, home, &["init", "--view", view]);
40 assert_success(&output, "atomic init");
41}
42
43fn commit_file(repository: &GitRepository, path: &str, content: &[u8], message: &str) -> Oid {
44 let worktree = repository.workdir().expect("Git worktree");

Calls 2

atomicFunction · 0.70
assert_successFunction · 0.70

Tested by

no test coverage detected