Expand description
Git lock utilities for detecting and cleaning stale locks
Functionsยง
- clean_
stale_ index_ lock - Detect and remove stale Git index lock if safe to do so Returns true if a stale lock was removed
- is_
lock_ error - Check if an error is a Git lock error
- with_
lock_ retry - Execute a git2 operation with automatic stale lock cleanup and retry If the operation fails with a lock error, checks for stale locks and retries once