pub(super) fn hold(root: &Path) -> Result<Flock<File>>
Locks root for as long as the returned guard lives.
root