Skip to main content

partial_path

Function partial_path 

Source
pub fn partial_path(dest: &Path) -> PathBuf
Expand description

The partial file a download to dest is written to before it is renamed into place: dest with PARTIAL_SUFFIX appended, in the same directory so the rename stays on one filesystem and is atomic.