MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / get

Method get

graphlite/src/storage/persistent/sled.rs:28–33  ·  view source on GitHub ↗
(&self, key: &[u8])

Source from the content-addressed store, hash-verified

26 }
27
28 fn get(&self, key: &[u8]) -> StorageResult<Option<Vec<u8>>> {
29 self.tree
30 .get(key)
31 .map_err(|e| StorageDriverError::BackendSpecific(e.to_string()))
32 .map(|opt| opt.map(|v| v.to_vec()))
33 }
34
35 fn remove(&self, key: &[u8]) -> StorageResult<()> {
36 self.tree

Callers 15

validate_value_typesMethod · 0.45
get_propertyMethod · 0.45
load_catalog_providerMethod · 0.45
get_metadataMethod · 0.45
get_graphMethod · 0.45
get_graph_mutMethod · 0.45
get_nodeMethod · 0.45
get_edgeMethod · 0.45
get_nodes_by_labelMethod · 0.45
get_edges_by_labelMethod · 0.45
get_outgoing_edgesMethod · 0.45
get_incoming_edgesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected