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

Method new

atomic-cli/src/commands/record/tests.rs:386–390  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

384
385 impl DirGuard {
386 fn new() -> Self {
387 Self {
388 original: std::env::current_dir().unwrap_or_else(|_| PathBuf::from("/")),
389 }
390 }
391 }
392
393 impl Drop for DirGuard {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected