pub fn open_lock_file_beneath(root: &Path, relative: &Path) -> Result<File>Expand description
Open an advisory lock file beneath a trusted root without following
symlinks. The caller owns the returned file and can hold an exclusive lock
with fs2::FileExt for the duration of a compound filesystem operation.