MCPcopy Create free account
hub / github.com/erans/pgsqlite / invalidate

Method invalidate

src/cache/mod.rs:90–92  ·  view source on GitHub ↗
(&self, key: &K)

Source from the content-addressed store, hash-verified

88 }
89
90 pub fn invalidate(&self, key: &K) {
91 self.cache.write().unwrap().remove(key);
92 }
93
94 pub fn clear(&self) {
95 self.cache.write().unwrap().clear();

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected