Expand description
Per-file mutation lock (core/tools/file-mutation-queue.ts).
Concurrent write/edit calls to the same file must be serialized; this hands out one async mutex per canonical path.
Functions§
- with_
file_ lock - Run
fwhile holding the per-file lock forpath.