Home
last modified time | relevance | path

Searched refs:withFileTypes (Results 1 – 25 of 40) sorted by relevance

12

/third_party/node/deps/npm/node_modules/path-scurry/dist/mjs/
Dindex.js971 this.#fs.readdir(fullpath, { withFileTypes: true }, (er, entries) => { property
1019 withFileTypes: true, property
1050 withFileTypes: true, property
1457 withFileTypes: true, property
1466 const { withFileTypes } = opts;
1472 return withFileTypes ? p : p.map(e => e.name);
1476 withFileTypes: true, property
1485 const { withFileTypes = true } = opts;
1489 else if (withFileTypes) {
1526 async readlink(entry = this.cwd, { withFileTypes } = { field
[all …]
/third_party/node/deps/npm/node_modules/path-scurry/dist/cjs/
Dindex.js999 this.#fs.readdir(fullpath, { withFileTypes: true }, (er, entries) => { property
1047 withFileTypes: true, property
1078 withFileTypes: true, property
1488 withFileTypes: true, property
1497 const { withFileTypes } = opts;
1503 return withFileTypes ? p : p.map(e => e.name);
1507 withFileTypes: true, property
1516 const { withFileTypes = true } = opts;
1520 else if (withFileTypes) {
1557 async readlink(entry = this.cwd, { withFileTypes } = { field
[all …]
/third_party/node/benchmark/fs/
Dbench-readdirSync.js10 withFileTypes: ['true', 'false'], property
14 function main({ n, dir, withFileTypes }) { field
15 withFileTypes = withFileTypes === 'true';
19 fs.readdirSync(fullPath, { withFileTypes }); field
Dbench-readdir.js10 withFileTypes: ['true', 'false'], property
13 function main({ n, dir, withFileTypes }) { field
14 withFileTypes = withFileTypes === 'true';
20 fs.readdir(fullPath, { withFileTypes }, () => { field
/third_party/node/test/parallel/
Dtest-fs-readdir-types.js52 assertDirents(fs.readdirSync(readdirDir, { withFileTypes: true })); property
55 withFileTypes: true property
69 withFileTypes: true property
76 withFileTypes: true property
103 assertDirents(fs.readdirSync(readdirDir, { withFileTypes: true })); property
105 withFileTypes: true property
Dtest-fs-readdir-buffer.js13 { withFileTypes: true, encoding: 'buffer' }, property
/third_party/node/deps/npm/node_modules/glob/dist/commonjs/
Dglob.d.ts230 withFileTypes?: boolean; property
252 withFileTypes: true;
258 withFileTypes?: false;
261 withFileTypes?: undefined;
293 withFileTypes: FileTypes<Opts>;
Dwalker.d.ts36 withFileTypes?: boolean; property
39 withFileTypes: true;
42 withFileTypes: false;
45 withFileTypes?: undefined;
Dglob.js43 withFileTypes; field in Glob
69 this.withFileTypes = !!opts.withFileTypes;
95 if (this.withFileTypes && this.absolute !== undefined) {
Dglob.js.map1withFileTypes}\n */\n absolute?: boolean\n\n /**\n * Set to false to enable {@link windowsPa…
Dwalker.js.map1withFileTypes?: boolean\n}\n\nexport type GWOFileTypesTrue = GlobWalkerOpts & {\n withFileTypes: …
/third_party/node/deps/npm/node_modules/glob/dist/esm/
Dglob.d.ts230 withFileTypes?: boolean; property
252 withFileTypes: true;
258 withFileTypes?: false;
261 withFileTypes?: undefined;
293 withFileTypes: FileTypes<Opts>;
Dwalker.d.ts36 withFileTypes?: boolean; property
39 withFileTypes: true;
42 withFileTypes: false;
45 withFileTypes?: undefined;
Dglob.js40 withFileTypes; field in Glob
66 this.withFileTypes = !!opts.withFileTypes;
92 if (this.withFileTypes && this.absolute !== undefined) {
Dglob.js.map1withFileTypes}\n */\n absolute?: boolean\n\n /**\n * Set to false to enable {@link windowsPa…
Dwalker.js.map1withFileTypes?: boolean\n}\n\nexport type GWOFileTypesTrue = GlobWalkerOpts & {\n withFileTypes: …
/third_party/node/typings/internalBinding/
Dfs.d.ts162 …function readdir(path: StringOrBuffer, encoding: unknown, withFileTypes: boolean, req: FSReqCallba…
163 …function readdir(path: StringOrBuffer, encoding: unknown, withFileTypes: true, req: FSReqCallback<…
164 …function readdir(path: StringOrBuffer, encoding: unknown, withFileTypes: false, req: FSReqCallback…
165 …function readdir(path: StringOrBuffer, encoding: unknown, withFileTypes: boolean, req: undefined, …
166 …function readdir(path: StringOrBuffer, encoding: unknown, withFileTypes: true, req: undefined, ctx…
167 …function readdir(path: StringOrBuffer, encoding: unknown, withFileTypes: false, req: undefined, ct…
168 …function readdir(path: StringOrBuffer, encoding: unknown, withFileTypes: boolean, usePromises: typ…
169 …function readdir(path: StringOrBuffer, encoding: unknown, withFileTypes: true, usePromises: typeof…
170 …function readdir(path: StringOrBuffer, encoding: unknown, withFileTypes: false, usePromises: typeo…
/third_party/node/test/sequential/
Dtest-fs-readdir-recursive.js153 const result = fs.readdirSync(readdirDir, { recursive: true, withFileTypes: true }); property
169 fs.readdir(readdirDir, { recursive: true, withFileTypes: true }, property
190 const result = await fs.promises.readdir(readdirDir, { recursive: true, withFileTypes: true }); property
/third_party/node/deps/npm/node_modules/chownr/
Dchownr.js100 readdir(p, { withFileTypes: true }, (er, children) => { property
150 children = readdirSync(p, { withFileTypes: true }) property
/third_party/node/tools/
Dupdate-timezone.mjs13 const availableVersions = readdirSync('icu-data/tzdata/icunew', { withFileTypes: true }) property
Dlint-sh.mjs23 const entries = readdirSync(dirPath, { withFileTypes: true }); property
/third_party/node/lib/internal/fs/
Dpromises.js774 !!options.withFileTypes,
781 if (options.withFileTypes) {
838 !!options.withFileTypes,
841 return options.withFileTypes ?
/third_party/node/lib/
Dfs.js1406 const withFileTypes = Boolean(options.withFileTypes);
1418 withFileTypes,
1424 if (withFileTypes) {
1485 if (!options.withFileTypes) {
1497 !!options.withFileTypes, req);
1523 options.encoding, !!options.withFileTypes,
1526 return options.withFileTypes ? getDirents(path, result) : result;
/third_party/node/deps/npm/node_modules/@npmcli/installed-package-contents/lib/
Dindex.js121 readdir(path, { withFileTypes: true }), property
/third_party/node/deps/npm/node_modules/glob/
DREADME.md71 // you can also pass withFileTypes: true to get Path objects
74 const g3 = new Glob('**/baz/**', { withFileTypes: true })
84 // if you use stat:true and withFileTypes, you can sort results
89 const results = await glob('**', { stat: true, withFileTypes: true })
276 objects if the `withFileTypes` option is set to `true`. See below
514 `withFileTypes`, this means that matches will include data such
558 `absolute` may not be used along with `withFileTypes`.
571 - `withFileTypes` Return [PathScurry](http://npm.im/path-scurry)
576 `withFileTypes` may not be used along with `absolute`.

12