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

Method new

graphlite/src/storage/persistent/memory.rs:25–29  ·  view source on GitHub ↗

Create a new memory storage driver

()

Source from the content-addressed store, hash-verified

23impl MemoryStorageDriver {
24 /// Create a new memory storage driver
25 pub fn new() -> Self {
26 Self {
27 trees: Arc::new(RwLock::new(HashMap::new())),
28 }
29 }
30}
31
32impl StorageTree for MemoryTree {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected