Skip to main content

keep

Function keep 

Source
pub fn keep(
    root: &Path,
    part: &str,
    file: &str,
    path: &Path,
    now_ms: i64,
) -> Result<(), String>
Expand description

A file as it is now, copied before another device’s change is written over it, or takes it out; then the oldest versions past what is kept go. Refused when the copy would leave the disk short (disk::kept_free): nothing is written over a file whose copy could not be kept.