Expand description
Lock types for team coordination
Grit uses lease-based locks stored as git refs for coordination. Locks are optional and designed for coordination, not enforcement.
Structs§
- Lock
- A lease-based lock on a resource
- Lock
Status - Status of a lock check
Enums§
- Lock
Check Result - Result of a lock conflict check
- Lock
Policy - Lock policy for write operations
Constants§
- DEFAULT_
LOCK_ TTL_ MS - Default lock TTL in milliseconds (5 minutes)
Functions§
- resource_
hash - Compute the hash for a lock ref name