Initialize storage manager with both disk and memory storage
(
path: P,
storage_type: StorageType,
)
| 134 | |
| 135 | /// Initialize storage manager with both disk and memory storage |
| 136 | fn init_disk_and_memory<P: AsRef<Path>>( |
| 137 | path: P, |
| 138 | storage_type: StorageType, |
| 139 | ) -> Result<Self, Box<dyn std::error::Error>> { |
| 140 | info!( |
| 141 | "Initializing disk and memory storage with {} at path: {:?}", |
| 142 | storage_type, |
| 143 | path.as_ref() |
| 144 | ); |
| 145 | |
| 146 | // TODO: Implement both disk and memory storage initialization |
| 147 | // For now, fall back to disk-only |
| 148 | Self::init_disk_only(path, storage_type) |
| 149 | } |
| 150 | |
| 151 | /// Get a graph by name |
| 152 | /// Checks cache first, then memory store, then persistent storage |
nothing calls this directly
no outgoing calls
no test coverage detected