Skip to main content

cache_path_for

Function cache_path_for 

Source
pub fn cache_path_for(scene_path: &Path, source_hash_hex: &str) -> PathBuf
Expand description

Cache path for a scene file + hex content hash: <scene_dir>/_cache/<stem>.<hash>.bin. The hash keys the cache, so any source change is a different file (old ones get pruned).