(path: string)
| 173 | }; |
| 174 | |
| 175 | const releaseFileHandle = (path: string): void => { |
| 176 | const next = (fileOpenCounts.get(path) ?? 1) - 1; |
| 177 | if (next <= 0) fileOpenCounts.delete(path); |
| 178 | else fileOpenCounts.set(path, next); |
| 179 | }; |
| 180 | |
| 181 | // Sidecar metadata. platformatic VFS has no chmod/chown/utimes, so we store |
| 182 | // overrides here and merge them into getattr. |