MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / vault_kg_node

Method vault_kg_node

atomic-repository/src/repository/vault_triples.rs:205–207  ·  view source on GitHub ↗
(&self, id: &str)

Source from the content-addressed store, hash-verified

203 .kg_neighbors_filtered(id, depth, predicate, direction)?)
204 }
205 pub fn vault_kg_node(&self, id: &str) -> Result<Option<KgNode>, RepositoryError> {
206 Ok(self.pristine.read_txn()?.get_kg_node(id)?)
207 }
208 pub fn vault_kg_node_count(&self) -> Result<usize, RepositoryError> {
209 Ok(self.pristine.read_txn()?.count_kg_nodes()?)
210 }

Calls 2

read_txnMethod · 0.80
get_kg_nodeMethod · 0.45