Skip to main content

load_cached

Function load_cached 

Source
pub fn load_cached(
    path: &Path,
) -> Result<(SceneDoc, CacheStatus, Option<String>)>
Expand description

Load with the binary cache: a valid cache wins; a missing cache parses TOML and writes the cache; a corrupt or version-mismatched cache parses TOML, rewrites the cache, and reports the fallback loudly via the returned warning — never silently. TOML stays source of truth.