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

Method drop

atomic-cli/src/commands/git/import.rs:2163–2165  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2161
2162 impl Drop for DirGuard {
2163 fn drop(&mut self) {
2164 let _ = std::env::set_current_dir(&self.0);
2165 }
2166 }
2167
2168 fn git_ok(root: &Path, args: &[&str]) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected