(existingPath, newPath)
| 320 | vfsOpVoid(path, (vfs, n) => vfs.lutimesSync(n, atime, mtime)), |
| 321 | truncateSync: (path, len) => vfsOpVoid(path, (vfs, n) => vfs.truncateSync(n, len)), |
| 322 | linkSync(existingPath, newPath) { |
| 323 | return vfsOpVoid(existingPath, (vfs, n) => { |
| 324 | checkSameVFS(n, toPathStr(newPath), 'link', vfs); |
| 325 | vfs.linkSync(n, resolve(toPathStr(newPath))); |
| 326 | }); |
| 327 | }, |
| 328 | mkdtempSync(prefix, options) { |
| 329 | const result = vfsOp(prefix, (vfs, n) => vfs.mkdtempSync(n)); |
| 330 | if (result !== undefined && options?.encoding === 'buffer') { |
nothing calls this directly
no test coverage detected
searching dependent graphs…