(srcPath, destPath, syscall, srcVfs)
| 162 | } |
| 163 | |
| 164 | function checkSameVFS(srcPath, destPath, syscall, srcVfs) { |
| 165 | const destNormalized = resolve(destPath); |
| 166 | for (let i = 0; i < activeVFSList.length; i++) { |
| 167 | const vfs = activeVFSList[i]; |
| 168 | if (vfs.shouldHandle(destNormalized)) { |
| 169 | if (vfs !== srcVfs) { |
| 170 | throw createEXDEV(syscall, srcPath); |
| 171 | } |
| 172 | return; |
| 173 | } |
| 174 | } |
| 175 | throw createEXDEV(syscall, srcPath); |
| 176 | } |
| 177 | |
| 178 | function createVfsHandlers() { |
| 179 | return { |
no test coverage detected
searching dependent graphs…