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

Method new

atomic-cli/tests/it/intent_turn_binding_test.rs:20–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19impl Fixture {
20 fn new() -> Self {
21 let fixture = Self {
22 root: tempfile::tempdir().unwrap(),
23 home: tempfile::tempdir().unwrap(),
24 };
25 fixture.run(&[
26 "identity",
27 "new",
28 "tester",
29 "--email",
30 "tester@example.invalid",
31 "--set-default",
32 ]);
33 fixture.run(&["init"]);
34 fixture
35 }
36
37 fn root(&self) -> &Path {
38 self.root.path()

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected