lock_dir

Function lock_dir 

Source
pub fn lock_dir<T: AsRef<Path>>(path: T) -> Result<File, PathError>