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

Method new

atomic-cli/tests/it/git_bridge_reconcile_preserved_delete_test.rs:106–114  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

104
105impl Preserved {
106 fn new(name: &str) -> Self {
107 let root = tempfile::tempdir().expect("repo tempdir");
108 let home = tempfile::tempdir().expect("home tempdir");
109 assert!(git(root.path(), &["init", "-q", "-b", "main"])
110 .status
111 .success());
112 let _ = name;
113 Self { root, home }
114 }
115
116 /// The unrelated active Atomic view. `--no-vault` keeps the fixture
117 /// minimal; the view stays empty (0 changes) and never verifies a

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected