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

Method new

atomic-cli/src/commands/query/mod.rs:1698–1702  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1696
1697 impl DirGuard {
1698 fn new() -> Self {
1699 Self {
1700 original: std::env::current_dir().unwrap(),
1701 }
1702 }
1703 }
1704
1705 impl Drop for DirGuard {

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected