MCPcopy Create free account
hub / github.com/dfinity/orbit / clear

Method clear

core/station/impl/src/core/cache.rs:68–70  ·  view source on GitHub ↗

Clears the cache.

(&mut self)

Source from the content-addressed store, hash-verified

66
67 /// Clears the cache.
68 pub fn clear(&mut self) {
69 self.map.clear();
70 }
71
72 /// Returns an iterator over the cache's values.
73 pub fn values(&self) -> std::collections::hash_map::Values<Key, Value> {

Callers 3

evaluate_requestsMethod · 0.45
generateMethod · 0.45

Calls

no outgoing calls

Tested by 1

generateMethod · 0.36