Skip to main content

read_cache

Function read_cache 

Source
pub fn read_cache(path: &Path) -> Option<Schema>
Expand description

Read a schema cache file, returning Some only if it parses cleanly and survives validation. Parse or validation errors are treated as “no cache” (the caller falls through to the inline/YAML schema).