Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ drop
Method
drop
atomic-cli/src/commands/git/real_import_sample.rs:22–24 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
20
struct Reset(bool);
21
impl Drop for Reset {
22
fn drop(&mut self) {
23
DEFER_SOURCE_CONTENT_PROOF.with(|flag| flag.set(self.0));
24
}
25
}
26
let _reset = Reset(DEFER_SOURCE_CONTENT_PROOF.with(|flag| flag.replace(defer)));
27
work()
Callers
nothing calls this directly
Calls
1
set
Method · 0.45
Tested by
no test coverage detected