package
Version:
v0.21.3
Opens a new window with list of versions in this module.
Published: Jul 23, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Acquire acquires an exclusive lock on path. Returns
an unlock function. Caller must defer unlock().
The lock file is kept on disk after unlock.
With acquires an exclusive lock on path, runs fn,
and releases the lock. The lock file is created if
needed and kept on disk (never deleted).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.