(path, mode)
| 245 | return result; |
| 246 | }, |
| 247 | accessSync(path, mode) { |
| 248 | const pathStr = toPathStr(path); |
| 249 | if (pathStr !== null) { |
| 250 | const r = findVFSForPath(pathStr); |
| 251 | if (r !== null) { |
| 252 | if (mode != null && typeof mode !== 'number') { |
| 253 | throw new ERR_INVALID_ARG_TYPE('mode', 'integer', mode); |
| 254 | } |
| 255 | r.vfs.accessSync(r.normalized, mode); |
| 256 | return true; |
| 257 | } |
| 258 | } |
| 259 | return undefined; |
| 260 | }, |
| 261 | readlinkSync(path, options) { |
| 262 | const pathStr = toPathStr(path); |
| 263 | if (pathStr === null) return undefined; |
nothing calls this directly
no test coverage detected
searching dependent graphs…