pub fn barkd_pid(datadir: &Path) -> Result<Option<u32>>Expand description
The pid of the barkd holding the datadir lock, or None when no barkd
is running there. The flock, not the file’s existence, is the liveness
signal: the OS releases it the instant the holder dies.