forc_util

Function path_lock

Source
pub fn path_lock<X: AsRef<Path>>(path: X) -> Result<RwLock<File>>
Expand description

Create an advisory lock over the given path.

See [fd_lock_path] for details.