Expand description
Lock file operations for spec execution tracking
Provides functionality to create, read, remove, and check lock files that track which processes are currently working on specs.
Structs§
- Lock
Guard - RAII guard that automatically removes lock file on drop
Functions§
- create_
lock - Create a lock file for a spec with the current process ID
- is_
locked - Check if a spec has an active lock file with a running process
- read_
lock - Read the PID from a lock file
- remove_
lock - Remove a lock file for a spec