Function yaque::recovery::unlock

source ·
pub fn unlock<P: AsRef<Path>>(lock_filename: P) -> Result<()>
Expand description

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.