MCPcopy Create free account
hub / github.com/carsonpo/haystackdb / search

Method search

src/structures/tree.rs:83–85  ·  view source on GitHub ↗
(&self, key: K)

Source from the content-addressed store, hash-verified

81 }
82
83 pub fn search(&self, key: K) -> Result<Option<V>, io::Error> {
84 self.search_node(&*self.root, key)
85 }
86
87 fn search_node(&self, node: &Node<K, V>, key: K) -> Result<Option<V>, io::Error> {
88 match node.node_type {

Callers 7

getMethod · 0.45
get_commitMethod · 0.45
get_commits_beforeMethod · 0.45
get_uncommittedMethod · 0.45
add_to_walMethod · 0.45
batch_add_to_walMethod · 0.45
getMethod · 0.45

Calls 1

search_nodeMethod · 0.45

Tested by

no test coverage detected