(path, fn)
| 144 | } |
| 145 | |
| 146 | function vfsOp(path, fn) { |
| 147 | const pathStr = toPathStr(path); |
| 148 | if (pathStr !== null) { |
| 149 | const r = findVFSForPath(pathStr); |
| 150 | if (r !== null) return fn(r.vfs, r.normalized); |
| 151 | } |
| 152 | return undefined; |
| 153 | } |
| 154 | |
| 155 | function vfsOpVoid(path, fn) { |
| 156 | const pathStr = toPathStr(path); |
no test coverage detected
searching dependent graphs…