Lines Matching refs:pathModule
60 const pathModule = require('path'); constant
246 binding.access(pathModule.toNamespacedPath(path), mode, req);
261 binding.access(pathModule.toNamespacedPath(path), mode, undefined, ctx);
310 const nPath = pathModule.toNamespacedPath(path);
416 binding.open(pathModule.toNamespacedPath(path),
581 binding.open(pathModule.toNamespacedPath(path),
600 const result = binding.open(pathModule.toNamespacedPath(path),
1023 binding.rename(pathModule.toNamespacedPath(oldPath),
1024 pathModule.toNamespacedPath(newPath),
1040 binding.rename(pathModule.toNamespacedPath(oldPath),
1041 pathModule.toNamespacedPath(newPath), undefined, ctx);
1174 path = pathModule.toNamespacedPath(getValidatedPath(path));
1221 return rimrafSync(pathModule.toNamespacedPath(path), options);
1228 binding.rmdir(pathModule.toNamespacedPath(path), undefined, ctx);
1257 return rimraf(pathModule.toNamespacedPath(path), options, callback);
1278 return rimrafSync(pathModule.toNamespacedPath(path), options);
1367 binding.mkdir(pathModule.toNamespacedPath(path),
1395 const result = binding.mkdir(pathModule.toNamespacedPath(path),
1425 pathModule.toNamespacedPath(path),
1438 ArrayPrototypePush(pathsQueue, pathModule.join(dirent.path, dirent.name));
1441 const resultPath = pathModule.join(path, readdirResult[i]);
1442 const relativeResultPath = pathModule.relative(basePath, resultPath);
1498 binding.readdir(pathModule.toNamespacedPath(path), options.encoding,
1524 const result = binding.readdir(pathModule.toNamespacedPath(path),
1576 binding.lstat(pathModule.toNamespacedPath(path), options.bigint, req);
1599 binding.stat(pathModule.toNamespacedPath(path), options.bigint, req);
1617 binding.statfs(pathModule.toNamespacedPath(path), options.bigint, req);
1663 const stats = binding.lstat(pathModule.toNamespacedPath(path),
1685 const stats = binding.stat(pathModule.toNamespacedPath(path),
1697 const stats = binding.statfs(pathModule.toNamespacedPath(path),
1720 binding.readlink(pathModule.toNamespacedPath(path), options.encoding, req);
1734 const result = binding.readlink(pathModule.toNamespacedPath(path),
1763 absoluteTarget = pathModule.resolve(path, '..', target);
1778 pathModule.toNamespacedPath(path), resolvedFlags, req);
1789 binding.symlink(destination, pathModule.toNamespacedPath(path), flags, req);
1803 const absoluteTarget = pathModule.resolve(`${path}`, '..', `${target}`);
1814 pathModule.toNamespacedPath(path), flags, undefined, ctx);
1836 binding.link(pathModule.toNamespacedPath(existingPath),
1837 pathModule.toNamespacedPath(newPath),
1853 const result = binding.link(pathModule.toNamespacedPath(existingPath),
1854 pathModule.toNamespacedPath(newPath),
1871 binding.unlink(pathModule.toNamespacedPath(path), req);
1882 binding.unlink(pathModule.toNamespacedPath(path), undefined, ctx);
1976 binding.chmod(pathModule.toNamespacedPath(path), mode, req);
1990 binding.chmod(pathModule.toNamespacedPath(path), mode, undefined, ctx);
2009 binding.lchown(pathModule.toNamespacedPath(path), uid, gid, req);
2024 binding.lchown(pathModule.toNamespacedPath(path), uid, gid, undefined, ctx);
2081 binding.chown(pathModule.toNamespacedPath(path), uid, gid, req);
2097 binding.chown(pathModule.toNamespacedPath(path), uid, gid, undefined, ctx);
2116 binding.utimes(pathModule.toNamespacedPath(path),
2133 binding.utimes(pathModule.toNamespacedPath(path),
2192 binding.lutimes(pathModule.toNamespacedPath(path),
2209 binding.lutimes(pathModule.toNamespacedPath(path),
2460 filename = pathModule.resolve(filename);
2502 filename = pathModule.resolve(filename);
2584 p = pathModule.resolve(p);
2612 binding.lstat(pathModule.toNamespacedPath(base), false, undefined, ctx);
2652 const baseLong = pathModule.toNamespacedPath(base);
2682 resolvedLink = pathModule.resolve(previous, linkTarget);
2689 p = pathModule.resolve(resolvedLink, StringPrototypeSlice(p, pos));
2698 binding.lstat(pathModule.toNamespacedPath(base), false, undefined, ctx);
2718 …const result = binding.realpath(pathModule.toNamespacedPath(path), options.encoding, undefined, ct…
2743 p = pathModule.resolve(p);
2839 gotResolvedLink(pathModule.resolve(previous, target));
2844 p = pathModule.resolve(resolvedLink, StringPrototypeSlice(p, pos));
2878 return binding.realpath(pathModule.toNamespacedPath(path), options.encoding, req);
2941 src = pathModule._makeLong(src);
2942 dest = pathModule._makeLong(dest);
2965 src = pathModule._makeLong(src);
2966 dest = pathModule._makeLong(dest);
2988 src = pathModule.toNamespacedPath(getValidatedPath(src, 'src'));
2989 dest = pathModule.toNamespacedPath(getValidatedPath(dest, 'dest'));
3004 src = pathModule.toNamespacedPath(getValidatedPath(src, 'src'));
3005 dest = pathModule.toNamespacedPath(getValidatedPath(dest, 'dest'));