Skip to main content

apply_lock

Function apply_lock 

Source
pub fn apply_lock(
    path: &Path,
    lock_type: u32,
    lock_map: &DashMap<u64, File>,
) -> Result<()>
Expand description

Apply or release a flock on a file, tracking the lock handle by inode in lock_map