(path)
| 182 | // ==================== Sync path-based read ops ==================== |
| 183 | |
| 184 | existsSync(path) { |
| 185 | const pathStr = toPathStr(path); |
| 186 | if (pathStr === null) return undefined; |
| 187 | const r = findVFSForExists(pathStr); |
| 188 | return r !== null ? r.exists : undefined; |
| 189 | }, |
| 190 | readFileSync(path, options) { |
| 191 | if (typeof path === 'number') { |
| 192 | const vfd = getVirtualFd(path); |
nothing calls this directly
no test coverage detected
searching dependent graphs…