Home
last modified time | relevance | path

Searched refs:realpathSync (Results 1 - 22 of 22) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-fs-realpath.js84 function test_simple_error_callback(realpath, realpathSync, cb) {
92 function test_simple_error_cb_with_null_options(realpath, realpathSync, cb) {
100 function test_simple_relative_symlink(realpath, realpathSync, callback) {
118 const result = realpathSync(entry);
125 function test_simple_absolute_symlink(realpath, realpathSync, callback) {
146 const result = realpathSync(entry);
153 function test_deep_relative_file_symlink(realpath, realpathSync, callback) {
181 assertEqualPath(realpathSync(entry), path.resolve(expected));
187 function test_deep_relative_dir_symlink(realpath, realpathSync, callback) {
212 assertEqualPath(realpathSync(entr
[all...]
H A Dtest-vfs.js74 fs.realpathSync = function realpathSync(pathArgument, options) { function
H A Dtest-fs-null-bytes.js71 check(fs.realpath, fs.realpathSync, 'foo\u0000bar');
106 check(fs.realpath, fs.realpathSync, fileUrl);
138 check(fs.realpath, fs.realpathSync, fileUrl2);
H A Dtest-fs-readfilesync-enoent.js8 // This test ensures fs.realpathSync works on properly on Windows without
18 const result = fs.realpathSync(p);
H A Dtest-fs-assert-encoding-error.js64 fs.realpathSync(testPath, options);
H A Dtest-fs-error-messages.js146 () => fs.realpathSync(nonexistentFile),
167 () => fs.realpathSync.native(nonexistentFile),
/third_party/node/deps/npm/node_modules/path-scurry/dist/cjs/
H A Dindex.js32 const realpathSync = fs_1.realpathSync.native;
42 realpathSync,
1133 realpathSync() {
1139 const rp = this.#fs.realpathSync(this.fullpath());
1596 realpathSync(entry = this.cwd, { withFileTypes } = {
1606 const e = entry.realpathSync();
1692 if (!(follow && (r = e.realpathSync())))
1758 if (!(follow && (r = e.realpathSync())))
1884 if (!(follow && (r = e.realpathSync())))
[all...]
/third_party/node/deps/npm/node_modules/path-scurry/dist/mjs/
H A Dindex.js5 import { lstatSync, readdir as readdirCB, readdirSync, readlinkSync, realpathSync as rps, } from 'fs';
6 const realpathSync = rps.native;
16 realpathSync,
1105 realpathSync() {
1111 const rp = this.#fs.realpathSync(this.fullpath());
1565 realpathSync(entry = this.cwd, { withFileTypes } = {
1575 const e = entry.realpathSync();
1661 if (!(follow && (r = e.realpathSync())))
1727 if (!(follow && (r = e.realpathSync())))
1853 if (!(follow && (r = e.realpathSync())))
[all...]
/third_party/node/benchmark/fs/
H A Dbench-realpathSync.js21 fs.realpathSync(path);
/third_party/node/test/common/
H A Dtmpdir.js13 fs.realpathSync(process.env.NODE_TEST_DIR) : path.resolve(__dirname, '..');
/third_party/node/lib/internal/modules/
H A Dhelpers.js56 return fs.realpathSync(requestPath, {
/third_party/node/deps/npm/node_modules/write-file-atomic/lib/
H A Dindex.js187 filename = fs.realpathSync(filename)
/third_party/node/lib/internal/modules/esm/
H A Dresolve.js27 const { realpathSync } = require('fs');
332 const real = realpathSync(path, {
/third_party/node/lib/
H A Dfs.js2577 function realpathSync(p, options) { function
2714 realpathSync.native = (path, options) => {
3134 realpathSync,
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/
H A Dcommand.js976 resolvedScriptPath = fs.realpathSync(this._scriptPath);
/third_party/typescript/lib/
H A DtypingsInstaller.js7085 var fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
7501 return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path);
[all...]
H A Dtsc.js4489 var fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
4860 return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path);
[all...]
H A Dtsserverlibrary.js7104 var fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
7520 return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path);
[all...]
H A Dtypescript.js7095 var fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
7511 return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path);
[all...]
H A DtypescriptServices.js7095 var fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
7511 return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path);
[all...]
H A Dtsserver.js7105 var fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
7521 return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path);
[all...]
/third_party/node/test/fixtures/snapshot/
H A Dtypescript.js6958 var realpathSync = (_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync;
7471 return realpathSync(path);
[all...]

Completed in 213 milliseconds