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

Method new

atomic-cli/src/commands/tag/show.rs:336–340  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

334
335 impl DirGuard {
336 fn new() -> Self {
337 Self {
338 original: std::env::current_dir().unwrap_or_else(|_| PathBuf::from("/")),
339 }
340 }
341 }
342
343 impl Drop for DirGuard {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected