Skip to main content

clear_cache

Function clear_cache 

Source
pub fn clear_cache(cache_location: impl AsRef<Path>) -> Result<ClearCacheReport>
Expand description

Remove every file the generation cache created in cache_location, including temporary files left by interrupted writes. Other files in the directory are left untouched, and a missing directory is not an error.