Lines Matching refs:lock_path
298 let lock_path = if let Some(p) = acquire_task_fs_lock( in handle_on_cache_get() localVariable
335 fs::write(&lock_path, &recompressed_cache_bytes), in handle_on_cache_get()
338 lock_path in handle_on_cache_get()
342 fs::rename(&lock_path, &path), in handle_on_cache_get()
344 if let Err(error) = fs::remove_file(&lock_path) { in handle_on_cache_get()
347 lock_path.display(), in handle_on_cache_get()
355 lock_path in handle_on_cache_get()
837 let lock_path = task_path.with_extension(format!("wip-{}", std::process::id())); in acquire_task_fs_lock() localVariable
841 .open(&lock_path) in acquire_task_fs_lock()
845 lock_path.display(), in acquire_task_fs_lock()
851 Some(lock_path) in acquire_task_fs_lock()