• Home
  • Raw
  • Download

Lines Matching refs:pathModule

86 const pathModule = require('path');  constant
562 return binding.access(pathModule.toNamespacedPath(path), mode,
568 src = pathModule.toNamespacedPath(getValidatedPath(src, 'src'));
569 dest = pathModule.toNamespacedPath(getValidatedPath(dest, 'dest'));
577 return binding.copyFile(pathModule.toNamespacedPath(src),
578 pathModule.toNamespacedPath(dest),
590 await binding.openFileHandle(pathModule.toNamespacedPath(path),
710 return binding.rename(pathModule.toNamespacedPath(oldPath),
711 pathModule.toNamespacedPath(newPath),
727 path = pathModule.toNamespacedPath(getValidatedPath(path));
733 path = pathModule.toNamespacedPath(getValidatedPath(path));
766 return binding.mkdir(pathModule.toNamespacedPath(path),
777 pathModule.toNamespacedPath(originalPath),
793 const direntPath = pathModule.join(path, dirent.name);
810 const direntPath = pathModule.join(path, ent);
814 pathModule.relative(originalPath, direntPath),
820 pathModule.toNamespacedPath(direntPath),
841 pathModule.toNamespacedPath(path),
854 return binding.readlink(pathModule.toNamespacedPath(path),
863 pathModule.toNamespacedPath(path),
875 const result = await binding.lstat(pathModule.toNamespacedPath(path),
882 const result = await binding.stat(pathModule.toNamespacedPath(path),
889 const result = await binding.statfs(pathModule.toNamespacedPath(path),
897 return binding.link(pathModule.toNamespacedPath(existingPath),
898 pathModule.toNamespacedPath(newPath),
904 return binding.unlink(pathModule.toNamespacedPath(path), kUsePromises);
915 return binding.chmod(pathModule.toNamespacedPath(path), mode, kUsePromises);
930 return binding.lchown(pathModule.toNamespacedPath(path),
944 return binding.chown(pathModule.toNamespacedPath(path),
950 return binding.utimes(pathModule.toNamespacedPath(path),
964 return binding.lutimes(pathModule.toNamespacedPath(path),