Skip to main content

Module lockfile

Module lockfile 

Source
Expand description

Cross-process file locks keyed by path (ARCHITECTURE.md §2/§3).

The OS releases a lock when its file handle closes or its process exits. Lock files remain in place: unlinking a held lock would allow another process to lock a different inode at the same path.

Structs§

FileLock
A held lock; released when dropped.

Enums§

LockError