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

Method invalidate_graph_list_for_schema

graphlite/src/session/models.rs:137–139  ·  view source on GitHub ↗

Invalidate graph list cache for a specific schema

(&mut self, schema_name: &str)

Source from the content-addressed store, hash-verified

135
136 /// Invalidate graph list cache for a specific schema
137 pub fn invalidate_graph_list_for_schema(&mut self, schema_name: &str) {
138 self.graphs_by_schema.remove(schema_name);
139 }
140
141 /// Clear all cached data
142 pub fn clear(&mut self) {

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected