Skip to main content

remove_partial

Function remove_partial 

Source
pub fn remove_partial(path: &Path)
Expand description

Best-effort removal of a partial .part download. A NotFound is the desired end state (something already cleaned it up); any other failure is surfaced so a stuck temp file can’t silently fill the worker’s disk over a long session.