(path, fn)
| 153 | } |
| 154 | |
| 155 | function vfsOpVoid(path, fn) { |
| 156 | const pathStr = toPathStr(path); |
| 157 | if (pathStr !== null) { |
| 158 | const r = findVFSForPath(pathStr); |
| 159 | if (r !== null) { fn(r.vfs, r.normalized); return true; } |
| 160 | } |
| 161 | return undefined; |
| 162 | } |
| 163 | |
| 164 | function checkSameVFS(srcPath, destPath, syscall, srcVfs) { |
| 165 | const destNormalized = resolve(destPath); |
no test coverage detected
searching dependent graphs…