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

Method new

atomic-cli/src/commands/tag/delete.rs:157–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155
156 impl DirGuard {
157 fn new() -> Self {
158 Self {
159 original: std::env::current_dir().unwrap_or_else(|_| PathBuf::from("/")),
160 }
161 }
162 }
163
164 impl Drop for DirGuard {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected