(path: string)
| 168 | }; |
| 169 | |
| 170 | const openFileHandle = (path: string): number => { |
| 171 | fileOpenCounts.set(path, (fileOpenCounts.get(path) ?? 0) + 1); |
| 172 | return openHandle(path); |
| 173 | }; |
| 174 | |
| 175 | const releaseFileHandle = (path: string): void => { |
| 176 | const next = (fileOpenCounts.get(path) ?? 1) - 1; |
no test coverage detected