(vfs)
| 91 | } |
| 92 | |
| 93 | function deregisterVFS(vfs) { |
| 94 | const index = ArrayPrototypeIndexOf(activeVFSList, vfs); |
| 95 | if (index === -1) return; |
| 96 | ArrayPrototypeSplice(activeVFSList, index, 1); |
| 97 | debug('deregister active=%d', activeVFSList.length); |
| 98 | if (activeVFSList.length === 0) { |
| 99 | setVfsHandlers(null); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | function findVFSForExists(filename) { |
| 104 | const normalized = resolve(filename); |
no test coverage detected
searching dependent graphs…