MCPcopy Create free account
hub / github.com/douchuan/algorithm / keys

Method keys

src/strings/tries.rs:106–108  ·  view source on GitHub ↗

Returns all keys in the symbol table

(&self)

Source from the content-addressed store, hash-verified

104
105 /// Returns all keys in the symbol table
106 pub fn keys(&self) -> Queue<String> {
107 self.keys_with_prefix("")
108 }
109
110 /// Returns all of the keys in the set that start with *prefix*
111 pub fn keys_with_prefix(&self, prefix: &str) -> Queue<String> {

Callers

nothing calls this directly

Calls 1

keys_with_prefixMethod · 0.45

Tested by

no test coverage detected