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

Method new

atomic-cli/src/commands/diff/tests.rs:1213–1217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1211
1212 impl DirGuard {
1213 fn new() -> Self {
1214 Self {
1215 original: std::env::current_dir().unwrap_or_else(|_| PathBuf::from("/")),
1216 }
1217 }
1218 }
1219
1220 impl Drop for DirGuard {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected