Expand description
Project-level file locking for cross-process coordination.
This module provides process-safe file locking for project operations like resource installation. The locks are automatically released when the lock object is dropped.
§Async Safety
All file operations are wrapped in spawn_blocking to avoid blocking the tokio
runtime. This is critical for preventing worker thread starvation under high
parallelism with slow I/O.
Structs§
- Project
Lock - A file lock for project-level operations.