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

Function retained

atomic-repository/src/query_diagnostics.rs:63–69  ·  view source on GitHub ↗
(count: usize)

Source from the content-addressed store, hash-verified

61}
62
63pub(crate) fn retained(count: usize) {
64 RESOURCES.with(|slot| {
65 if let Some(stats) = slot.borrow_mut().as_mut() {
66 stats.displayed_records_high_water = stats.displayed_records_high_water.max(count);
67 }
68 });
69}

Callers 2

runMethod · 0.85
rank_content_matchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected