Lines Matching refs:pathModule
57 const pathModule = require('path'); constant
220 binding.access(pathModule.toNamespacedPath(path), mode, req);
228 binding.access(pathModule.toNamespacedPath(path), mode, undefined, ctx);
265 const nPath = pathModule.toNamespacedPath(path);
348 binding.open(pathModule.toNamespacedPath(path),
482 binding.open(pathModule.toNamespacedPath(path),
495 const result = binding.open(pathModule.toNamespacedPath(path),
787 binding.rename(pathModule.toNamespacedPath(oldPath),
788 pathModule.toNamespacedPath(newPath),
796 binding.rename(pathModule.toNamespacedPath(oldPath),
797 pathModule.toNamespacedPath(newPath), undefined, ctx);
886 path = pathModule.toNamespacedPath(getValidatedPath(path));
911 return rimrafSync(pathModule.toNamespacedPath(path), options);
916 binding.rmdir(pathModule.toNamespacedPath(path), undefined, ctx);
931 return rimraf(pathModule.toNamespacedPath(path), options, callback);
939 return rimrafSync(pathModule.toNamespacedPath(path), options);
991 binding.mkdir(pathModule.toNamespacedPath(path),
1011 const result = binding.mkdir(pathModule.toNamespacedPath(path),
1037 binding.readdir(pathModule.toNamespacedPath(path), options.encoding,
1045 const result = binding.readdir(pathModule.toNamespacedPath(path),
1075 binding.lstat(pathModule.toNamespacedPath(path), options.bigint, req);
1088 binding.stat(pathModule.toNamespacedPath(path), options.bigint, req);
1115 const stats = binding.lstat(pathModule.toNamespacedPath(path),
1127 const stats = binding.stat(pathModule.toNamespacedPath(path),
1142 binding.readlink(pathModule.toNamespacedPath(path), options.encoding, req);
1149 const result = binding.readlink(pathModule.toNamespacedPath(path),
1170 absoluteTarget = pathModule.resolve(path, '..', target);
1183 pathModule.toNamespacedPath(path), resolvedFlags, req);
1194 binding.symlink(destination, pathModule.toNamespacedPath(path), flags, req);
1201 const absoluteTarget = pathModule.resolve(path, '..', target);
1213 pathModule.toNamespacedPath(path), flags, undefined, ctx);
1227 binding.link(pathModule.toNamespacedPath(existingPath),
1228 pathModule.toNamespacedPath(newPath),
1237 const result = binding.link(pathModule.toNamespacedPath(existingPath),
1238 pathModule.toNamespacedPath(newPath),
1249 binding.unlink(pathModule.toNamespacedPath(path), req);
1255 binding.unlink(pathModule.toNamespacedPath(path), undefined, ctx);
1316 binding.chmod(pathModule.toNamespacedPath(path), mode, req);
1324 binding.chmod(pathModule.toNamespacedPath(path), mode, undefined, ctx);
1335 binding.lchown(pathModule.toNamespacedPath(path), uid, gid, req);
1343 binding.lchown(pathModule.toNamespacedPath(path), uid, gid, undefined, ctx);
1376 binding.chown(pathModule.toNamespacedPath(path), uid, gid, req);
1384 binding.chown(pathModule.toNamespacedPath(path), uid, gid, undefined, ctx);
1394 binding.utimes(pathModule.toNamespacedPath(path),
1403 binding.utimes(pathModule.toNamespacedPath(path),
1435 binding.lutimes(pathModule.toNamespacedPath(path),
1444 binding.lutimes(pathModule.toNamespacedPath(path),
1615 filename = pathModule.resolve(filename);
1655 filename = pathModule.resolve(filename);
1730 p = pathModule.resolve(p);
1758 binding.lstat(pathModule.toNamespacedPath(base), false, undefined, ctx);
1798 const baseLong = pathModule.toNamespacedPath(base);
1828 resolvedLink = pathModule.resolve(previous, linkTarget);
1835 p = pathModule.resolve(resolvedLink, p.slice(pos));
1844 binding.lstat(pathModule.toNamespacedPath(base), false, undefined, ctx);
1874 p = pathModule.resolve(p);
1970 gotResolvedLink(pathModule.resolve(previous, target));
1975 p = pathModule.resolve(resolvedLink, p.slice(pos));
2041 src = pathModule._makeLong(src);
2042 dest = pathModule._makeLong(dest);
2058 src = pathModule._makeLong(src);
2059 dest = pathModule._makeLong(dest);