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

Method insert

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

Source from the content-addressed store, hash-verified

19
20impl StorageTree for SledTree {
21 fn insert(&self, key: &[u8], value: &[u8]) -> StorageResult<()> {
22 self.tree
23 .insert(key, value)
24 .map_err(|e| StorageDriverError::BackendSpecific(e.to_string()))?;
25 Ok(())
26 }
27
28 fn get(&self, key: &[u8]) -> StorageResult<Option<Vec<u8>>> {
29 self.tree

Callers 15

set_propertyMethod · 0.45
save_graph_by_pathMethod · 0.45
save_catalog_providerMethod · 0.45
list_graphsMethod · 0.45
add_graphMethod · 0.45
add_nodeMethod · 0.45
add_edgeMethod · 0.45
batch_insertMethod · 0.45
register_indexMethod · 0.45
create_indexMethod · 0.45
set_graph_listMethod · 0.45
set_parameterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected