Skip to main content

lock_path

Function lock_path 

Source
pub fn lock_path() -> PathBuf
Expand description

Advisory lock file used to serialize stale-daemon recovery across concurrent clients (flock on the file; released when the lock file handle is dropped).

Overridable via the KHIVE_LOCK env var (for tests).