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

Method new

atomic-cli/src/commands/view/new.rs:517–521  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

515
516 impl DirGuard {
517 fn new() -> Self {
518 Self {
519 original: std::env::current_dir().unwrap_or_else(|_| PathBuf::from("/")),
520 }
521 }
522 }
523
524 impl Drop for DirGuard {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected