Skip to main content

write_cache

Function write_cache 

Source
pub fn write_cache(
    cache_dir: &Path,
    app_name: &str,
    entry: &CacheEntry,
) -> Result<(), UpdateKitError>
Expand description

Write a cache entry atomically (temp file + rename). Creates directories if needed.