Skip to main content

remove_stale_tmp

Function remove_stale_tmp 

Source
pub fn remove_stale_tmp(dir: &Path)
Expand description

Remove leftover *.tmp files in dir (a crashed indexer leaves them).

Errors are logged, never fatal: a stray temp file only wastes disk.