MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / drop

Method drop

codegraph-kernel/src/parse_budget.rs:26–28  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

24
25impl Drop for Restore {
26 fn drop(&mut self) {
27 DEADLINE.with(|d| d.set(self.0));
28 }
29}
30
31/// Run `f` with a deadline `budget_ms` from now for every [`parse`] it makes;

Callers

nothing calls this directly

Calls 2

withMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected