Home
last modified time | relevance | path

Searched refs:readdirSync (Results 1 - 25 of 43) sorted by relevance

12

/third_party/node/test/parallel/
H A Dtest-fs-null-bytes.js68 check(fs.readdir, fs.readdirSync, 'foo\u0000bar');
69 check(fs.readdir, fs.readdirSync, 'foo\u0000bar', { recursive: true });
103 check(fs.readdir, fs.readdirSync, fileUrl);
104 check(fs.readdir, fs.readdirSync, fileUrl, { recursive: true });
135 check(fs.readdir, fs.readdirSync, fileUrl2);
136 check(fs.readdir, fs.readdirSync, fileUrl2, { recursive: true });
H A Dtest-fs-symlink-dir.js30 fs.readdirSync(path);
35 fs.readdirSync(path);
H A Dtest-fs-readdir-types.js52 assertDirents(fs.readdirSync(readdirDir, { withFileTypes: true }));
103 assertDirents(fs.readdirSync(readdirDir, { withFileTypes: true }));
H A Dtest-repl-underscore.js163 fs.readdirSync('/nonexistent?'); // throws error, sync
181 /Object\.readdirSync/,
H A Dtest-runner-coverage.js5 const { readdirSync } = require('node:fs');
19 return readdirSync(tmpdir.path).find((file) => {
H A Dtest-fs-readdir-stack-overflow.js9 fs.readdirSync('.');
H A Dtest-fs-assert-encoding-error.js28 fs.readdirSync(testPath, options);
H A Dtest-http-get-pipeline-problem.js89 const files = fs.readdirSync(tmpdir.path);
H A Dtest-require-symlink.js30 fs.readdirSync(source).forEach((entry) => {
/third_party/typescript/tests/baselines/reference/
H A DAPISample_watcher.js20 readdirSync(path: string): string[];
115 const currentDirectoryFiles = fs.readdirSync(process.cwd()).
201 var currentDirectoryFiles = fs.readdirSync(process.cwd()).
/third_party/node/test/sequential/
H A Dtest-fs-readdir-recursive.js143 // readdirSync
145 // readdirSync { recursive }
147 const result = fs.readdirSync(readdirDir, { recursive: true });
151 // readdirSync { recursive, withFileTypes }
153 const result = fs.readdirSync(readdirDir, { recursive: true, withFileTypes: true });
H A Dtest-diagnostic-dir-heap-prof.js60 const list = fs.readdirSync(dir);
/third_party/node/benchmark/
H A D_cli.js8 fs.readdirSync(__dirname)
14 benchmarks[category] = fs.readdirSync(path.resolve(__dirname, category))
/third_party/node/deps/npm/node_modules/path-scurry/dist/cjs/
H A Dindex.js40 readdirSync: fs_1.readdirSync,
1065 readdirSync() {
1077 for (const e of this.#fs.readdirSync(fullpath, {
1506 readdirSync(entry = this.cwd, opts = {
1521 return entry.readdirSync();
1524 return entry.readdirSync().map(e => e.name);
1685 const entries = dir.readdirSync();
1751 const entries = dir.readdirSync();
1872 const entries = dir.readdirSync();
[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';
14 readdirSync,
1037 readdirSync() {
1049 for (const e of this.#fs.readdirSync(fullpath, {
1475 readdirSync(entry = this.cwd, opts = {
1490 return entry.readdirSync();
1493 return entry.readdirSync().map(e => e.name);
1654 const entries = dir.readdirSync();
1720 const entries = dir.readdirSync();
1841 const entries = dir.readdirSync();
[all...]
/third_party/parse5/bench/perf/
H A Dindex.js1 import { readFileSync, createReadStream, readdirSync } from 'node:fs';
55 global.files = readdirSync(saxPath).map((dirName) => new URL(`${dirName}/src.html`, saxPath).pathname);
/third_party/node/benchmark/fs/
H A Dbench-readdirSync.js19 fs.readdirSync(fullPath, { withFileTypes });
/third_party/parse5/packages/parse5/
H A Duglify-source.js24 const files = fs.readdirSync(inputPath);
/third_party/weex-loader/
H A Duglify-source.js25 const files = fs.readdirSync(inputPath);
/third_party/node/lib/internal/fs/
H A Drimraf.js23 readdirSync,
250 ArrayPrototypeForEach(readdirSync(pathBuf, readdirEncoding), (child) => {
/third_party/node/test/pummel/
H A Dtest-fs-watch-system-limit.js42 for (const file of fs.readdirSync('.'))
/third_party/node/test/common/
H A Dcpu-prof.js9 const list = fs.readdirSync(dir);
H A Dprof.js8 const list = fs.readdirSync(dir);
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/
H A Dcorpus.js19 for (const filePath of fs.readdirSync(directory)) {
/third_party/rust/crates/cxx/book/
H A Dbuild.js34 fs.readdirSync(dir).forEach((entry) => {

Completed in 9 milliseconds

12