Skip to main content

unlocked

Function unlocked 

Source
pub(crate) fn unlocked(path: &Path, within: Duration)
Expand description

Waits until nobody holds the lock at path (an account’s download holds it: corpus.rs), at most within; then lets it go at once, so that its folder can be deleted (Windows deletes no open file). No file: none runs.