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

Method is_schema_list_valid

graphlite/src/session/models.rs:77–79  ·  view source on GitHub ↗

Check if schema list cache is valid for the given version

(&self, current_version: u64)

Source from the content-addressed store, hash-verified

75
76 /// Check if schema list cache is valid for the given version
77 pub fn is_schema_list_valid(&self, current_version: u64) -> bool {
78 self.schema_list.is_some() && self.schema_list_version == current_version
79 }
80
81 /// Get cached schema list if valid
82 pub fn get_schema_list(&mut self, current_version: u64) -> Option<Vec<String>> {

Callers 1

get_schema_listMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected