Function cargo::util::flock::try_acquire

source ยท
fn try_acquire(
    path: &Path,
    lock_try: &dyn Fn() -> Result<()>,
) -> CargoResult<bool>