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

Method insert

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

Source from the content-addressed store, hash-verified

110// This allows us to use boxed trait objects seamlessly
111impl StorageTree for Box<dyn StorageTree> {
112 fn insert(&self, key: &[u8], value: &[u8]) -> StorageResult<()> {
113 (**self).insert(key, value)
114 }
115
116 fn get(&self, key: &[u8]) -> StorageResult<Option<Vec<u8>>> {
117 (**self).get(key)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected