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

Method drop

atomic-cli/src/commands/diff/tests.rs:1221–1223  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1219
1220 impl Drop for DirGuard {
1221 fn drop(&mut self) {
1222 let _ = std::env::set_current_dir(&self.original);
1223 }
1224 }
1225
1226 #[test]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected