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

Class Reset

atomic-cli/src/commands/git/real_import_sample.rs:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19fn with_source_proof_scope<T>(defer: bool, work: impl FnOnce() -> T) -> T {
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));

Callers 1

with_source_proof_scopeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected