MCPcopy Create free account
hub / github.com/argumentcomputer/ix / clear

Method clear

crates/ixon/src/map.rs:53–55  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

51 }
52
53 pub fn clear(&mut self) {
54 self.0.clear();
55 }
56
57 pub fn get(&self, k: &K) -> Option<MapRef<'_, K, V>> {
58 self.0.get_key_value(k).map(|(k, v)| MapRef { k, v })

Callers 9

executeMethod · 0.45
decompile_inductiveFunction · 0.45
compile_definitionFunction · 0.45
compile_recursorFunction · 0.45
compile_constructorFunction · 0.45
compile_inductiveFunction · 0.45
compile_axiomFunction · 0.45
compile_quotientFunction · 0.45
hash_nodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected