foundry_test_utils::fd_lock

Function new_lock

Source
pub fn new_lock(lock_path: impl AsRef<Path>) -> RwLock<File>
Expand description

Creates a new lock file at the given path.