Skip to main content

upsert

Function upsert 

Source
pub fn upsert(path: &Path, key: &str, entry: CacheEntry) -> Result<()>
Expand description

Replace one entry atomically (load → mutate → save).