Expand description
Cross-process serialization for registry-cache state mutations.
Ported from internal/registrycache/lock.go.
Enums§
- Lock
Error - Errors from acquiring the registry-cache flock.
Functions§
- with_
lock - Acquires an exclusive flock on the registry-cache lock file for the
duration of
f. The lock file is created on first use. Released whenfreturns (including via panic-unwind, since the underlying file descriptor is closed byDrop).