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

Method batch_insert

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

Source from the content-addressed store, hash-verified

95 }
96
97 fn batch_insert(&self, entries: &[(&[u8], &[u8])]) -> StorageResult<()> {
98 for (key, value) in entries {
99 self.insert(key, value)?;
100 }
101 Ok(())
102 }
103
104 fn batch_remove(&self, keys: &[&[u8]]) -> StorageResult<()> {
105 for key in keys {

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected