Function yaque::recovery::unlock[][src]

pub fn unlock<P: AsRef<Path>>(lock_filename: P) -> Result<()>

Unlocks a lock file if the owning process does not exist anymore. This function does nothing if the file does not exist.

Panics

This function panics if it cannot parse the lockfile.