(lockPath: string)
| 60 | const activeLockRefs = new Map<string, number>(); |
| 61 | |
| 62 | function bumpActiveLockRef(lockPath: string): void { |
| 63 | activeLockRefs.set(lockPath, (activeLockRefs.get(lockPath) ?? 0) + 1); |
| 64 | } |
| 65 | |
| 66 | function dropActiveLockRef(lockPath: string): boolean { |
| 67 | const current = activeLockRefs.get(lockPath); |
no test coverage detected