Create a new multi-graph manager
()
| 30 | impl MultiGraphManager { |
| 31 | /// Create a new multi-graph manager |
| 32 | pub fn new() -> Self { |
| 33 | Self { |
| 34 | graphs: Arc::new(RwLock::new(HashMap::new())), |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | /// Add a new graph with the given name |
| 39 | pub fn add_graph(&self, name: String, graph: GraphCache) -> Result<(), StorageError> { |
nothing calls this directly
no outgoing calls
no test coverage detected