(oldPath, newPath)
| 298 | rmSync: (path, options) => vfsOpVoid(path, (vfs, n) => vfs.rmSync(n, options)), |
| 299 | unlinkSync: (path) => vfsOpVoid(path, (vfs, n) => vfs.unlinkSync(n)), |
| 300 | renameSync(oldPath, newPath) { |
| 301 | return vfsOpVoid(oldPath, (vfs, n) => { |
| 302 | checkSameVFS(n, toPathStr(newPath), 'rename', vfs); |
| 303 | vfs.renameSync(n, resolve(toPathStr(newPath))); |
| 304 | }); |
| 305 | }, |
| 306 | copyFileSync(src, dest, mode) { |
| 307 | return vfsOpVoid(src, (vfs, n) => { |
| 308 | checkSameVFS(n, toPathStr(dest), 'copyfile', vfs); |
nothing calls this directly
no test coverage detected
searching dependent graphs…