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

Method new

atomic-cli/tests/it/hook_health_integration_test.rs:15–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14impl Fixture {
15 fn new() -> Self {
16 let repo = TempDir::new().unwrap();
17 drop(Repository::init(repo.path()).unwrap());
18 Self {
19 repo,
20 home: TempDir::new().unwrap(),
21 }
22 }
23
24 fn command(&self, args: &[&str]) -> Command {
25 let mut command = Command::new(env!("CARGO_BIN_EXE_atomic"));

Callers

nothing calls this directly

Calls 3

initFunction · 0.70
unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected