Skip to main content

temporary_path

Function temporary_path 

Source
pub(crate) fn temporary_path(path: &str) -> String
Expand description

Returns the path a non-append write to path goes to before it is renamed.

A writer that dies in between leaves the file behind, which is what sweep_temporary_files reclaims.