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

Method is_graph_list_valid

graphlite/src/session/models.rs:105–107  ·  view source on GitHub ↗

Check if graph list cache is valid for the given schema and version

(&self, schema_name: &str, current_version: u64)

Source from the content-addressed store, hash-verified

103
104 /// Check if graph list cache is valid for the given schema and version
105 pub fn is_graph_list_valid(&self, schema_name: &str, current_version: u64) -> bool {
106 self.graphs_by_schema.contains_key(schema_name) && self.graphs_version == current_version
107 }
108
109 /// Get cached graph list for a schema if valid
110 pub fn get_graph_list(

Callers 1

get_graph_listMethod · 0.80

Calls 1

contains_keyMethod · 0.45

Tested by

no test coverage detected