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

Method new

atomic-cli/src/commands/view/switch.rs:346–350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

344
345 impl DirGuard {
346 fn new() -> Self {
347 Self {
348 original: std::env::current_dir().unwrap_or_else(|_| PathBuf::from("/")),
349 }
350 }
351 }
352
353 impl Drop for DirGuard {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected