Home
last modified time | relevance | path

Searched refs:pathModule (Results 1 – 8 of 8) sorted by relevance

/third_party/node/lib/
Dfs.js57 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),
[all …]
/third_party/node/lib/internal/fs/
Dpromises.js70 const pathModule = require('path'); constant
363 return binding.access(pathModule.toNamespacedPath(path), mode,
371 return binding.copyFile(pathModule.toNamespacedPath(src),
372 pathModule.toNamespacedPath(dest),
384 await binding.openFileHandle(pathModule.toNamespacedPath(path),
484 return binding.rename(pathModule.toNamespacedPath(oldPath),
485 pathModule.toNamespacedPath(newPath),
501 path = pathModule.toNamespacedPath(getValidatedPath(path));
507 path = pathModule.toNamespacedPath(getValidatedPath(path));
537 return binding.mkdir(pathModule.toNamespacedPath(path),
[all …]
Dutils.js48 const pathModule = require('path'); constant
207 const bufferSep = Buffer.from(pathModule.sep);
216 const pathBuffer = Buffer.from(pathModule.join(path, pathModule.sep));
221 return pathModule.join(path, name);
376 path = pathModule.resolve(linkPath, '..', path);
377 return pathModule.toNamespacedPath(path);
379 if (pathModule.isAbsolute(path)) {
381 return pathModule.toNamespacedPath(path);
Ddir.js10 const pathModule = require('path'); constant
252 pathModule.toNamespacedPath(path),
266 pathModule.toNamespacedPath(path),
/third_party/node/deps/npm/node_modules/fs.realpath/
Dold.js22 var pathModule = require('path'); variable
69 var normalize = pathModule.normalize;
88 p = pathModule.resolve(p);
166 resolvedLink = pathModule.resolve(previous, linkTarget);
173 p = pathModule.resolve(resolvedLink, p.slice(pos));
190 p = pathModule.resolve(p);
293 var resolvedLink = pathModule.resolve(previous, target);
300 p = pathModule.resolve(resolvedLink, p.slice(pos));
/third_party/node/deps/npm/node_modules/tar/lib/
Dheader.js9 const pathModule = require('path').posix constant
202 const root = pathModule.parse(p).root || '.'
208 prefix = pathModule.dirname(pp)
209 pp = pathModule.basename(pp)
224 pp = pathModule.join(pathModule.basename(prefix), pp)
225 prefix = pathModule.dirname(prefix)
/third_party/typescript/src/harness/
DharnessIO.ts43 let fs: any, pathModule: any;
46 pathModule = require("path");
49 fs = pathModule = {};
60 const dirPath = pathModule.dirname(path);
74 const pathToFile = pathModule.join(folder, file);
/third_party/node/tools/
Dlint-md.mjs22946 var pathModule = path$b; variable
22993 pathModule.normalize;
23012 p = pathModule.resolve(p);
23090 resolvedLink = pathModule.resolve(previous, linkTarget);
23097 p = pathModule.resolve(resolvedLink, p.slice(pos));
23114 p = pathModule.resolve(p);
23217 var resolvedLink = pathModule.resolve(previous, target);
23224 p = pathModule.resolve(resolvedLink, p.slice(pos));