Documentation
¶
Overview ¶
Package filelock takes locks that upstream pi can interoperate with.
Upstream guards its shared state files with npm proper-lockfile, which creates the lock as a DIRECTORY via mkdir and refreshes its mtime while held. A POSIX flock on the same path leaves a zero-byte regular file behind instead, and proper-lockfile never treats a plain file as stale, so it then fails with EEXIST forever. One pigo write is enough to wedge the TypeScript runtime permanently. Every path both runtimes touch must lock through here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.