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

Method new_internal

src/structures/tree/node.rs:39–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 }
38
39 pub fn new_internal() -> Self {
40 Node {
41 keys: Vec::new(),
42 values: Vec::new(),
43 children: Vec::new(),
44 max_keys: MAX_KEYS,
45 node_type: NodeType::Internal,
46 }
47 }
48
49 pub fn clone(&self) -> Self {
50 Node {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected