Skip to main content

delete_after

Function delete_after 

Source
fn delete_after(
    watcher: Option<&Control>,
    within: Duration,
    delete: impl FnOnce() -> Result<(), String>,
) -> Result<(), String>
Expand description

Deletes (delete) once the watcher, stopped, has ended (at most within): a fetch it had under way would write the folder again.