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

Method init_memory_only

graphlite/src/storage/storage_manager.rs:125–133  ·  view source on GitHub ↗

Initialize storage manager with memory-only storage (Redis/Valkey)

(
        _path: P,
        storage_type: StorageType,
    )

Source from the content-addressed store, hash-verified

123
124 /// Initialize storage manager with memory-only storage (Redis/Valkey)
125 fn init_memory_only<P: AsRef<Path>>(
126 _path: P,
127 storage_type: StorageType,
128 ) -> Result<Self, Box<dyn std::error::Error>> {
129 info!("Initializing memory-only storage with {:?}", storage_type);
130
131 // TODO: Implement Redis/Valkey memory store initialization
132 Err("Memory-only storage not yet implemented".into())
133 }
134
135 /// Initialize storage manager with both disk and memory storage
136 fn init_disk_and_memory<P: AsRef<Path>>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected