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

Method clear_cache

src/validator/string_constraints.rs:190–193  ·  view source on GitHub ↗

Clear entire cache

(&self)

Source from the content-addressed store, hash-verified

188
189 /// Clear entire cache
190 pub fn clear_cache(&self) {
191 let mut cache = self.constraints.write().unwrap();
192 cache.clear();
193 }
194}
195
196#[cfg(test)]

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected