Searched refs:fsPromises (Results 1 – 14 of 14) sorted by relevance
/third_party/node/test/parallel/ |
D | test-fs-promises-writefile.js | 6 const fsPromises = fs.promises; constant 54 await fsPromises.writeFile(dest, buffer); 60 await fsPromises.writeFile(dest, stream); 71 fsPromises.writeFile(otherDest, stream, { signal }), 77 await fsPromises.writeFile(dest, iterable); 85 assert.rejects(fsPromises.writeFile(dest, iterableWith(value)), { 93 await fsPromises.writeFile(dest, stream2, 'latin1'); 100 await fsPromises.writeFile(dest, bufferIterable); 106 await fsPromises.writeFile(dest, asyncIterable); 114 assert.rejects(fsPromises.writeFile(dest, value), { [all …]
|
D | test-fs-promises-writefile-typedarray.js | 5 const fsPromises = fs.promises; constant 20 await fsPromises.writeFile(dest, array); 21 const data = await fsPromises.readFile(dest);
|
D | test-fs-read-empty-buffer.js | 9 const fsPromises = fs.promises; constant 32 const filehandle = await fsPromises.open(filepath, 'r');
|
D | test-fs-read-offset-null.js | 10 const fsPromises = fs.promises; constant 33 filehandle = await fsPromises.open(filepath, 'r');
|
D | test-fs-promises.js | 9 const fsPromises = fs.promises; constant 35 } = fsPromises;
|
/third_party/node/benchmark/fs/ |
D | bench-stat-promise.js | 4 const fsPromises = require('fs').promises; constant 13 const arg = handleMode ? await fsPromises.open(__filename, 'r') : __filename; 17 await (handleMode ? arg.stat() : fsPromises[statType](arg));
|
/third_party/node/test/sequential/ |
D | test-async-wrap-getasyncid.js | 9 const fsPromises = fs.promises; constant 208 const fd = await fsPromises.open(__filename, 'r');
|
/third_party/node/doc/api/ |
D | fs.md | 156 Instances of the {FileHandle} object are created by the `fsPromises.open()` 188 to with [`fsPromises.open()`][]. Therefore, this is equivalent to 551 ### `fsPromises.access(path[, mode])` 583 Using `fsPromises.access()` to check for the accessibility of a file before 584 calling `fsPromises.open()` is not recommended. Doing so introduces a race 589 ### `fsPromises.appendFile(path, data[, options])` 611 for appending (using `fsPromises.open()`). 613 ### `fsPromises.chmod(path, mode)` 624 ### `fsPromises.chown(path, uid, gid)` 636 ### `fsPromises.copyFile(src, dest[, mode])` [all …]
|
D | deprecations.md | 2485 const fsPromises = require('fs').promises; 2489 filehandle = await fsPromises.open('thefile.txt', 'r');
|
/third_party/node/test/common/ |
D | wpt.js | 6 const fsPromises = fs.promises; constant 67 return fsPromises.readFile(file)
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V14.md | 384 …/node/commit/ef72490cde)] - **(SEMVER-MINOR)** **fs**: allow no-params fsPromises fileHandle read … 385 …f64)] - **(SEMVER-MINOR)** **fs**: add support for async iterators to `fsPromises.writeFile` (Hiro… 386 * [[`2b0e2706c0`](https://github.com/nodejs/node/commit/2b0e2706c0)] - **fs**: improve fsPromises r… 387 …b.com/nodejs/node/commit/fe12cc07b3)] - **(SEMVER-MINOR)** **fs**: add fsPromises.watch() (James M… 444 …/node/commit/ef72490cde)] - **(SEMVER-MINOR)** **fs**: allow no-params fsPromises fileHandle read … 445 …f64)] - **(SEMVER-MINOR)** **fs**: add support for async iterators to `fsPromises.writeFile` (Hiro… 446 …b.com/nodejs/node/commit/fe12cc07b3)] - **(SEMVER-MINOR)** **fs**: add fsPromises.watch() (James M… 547 * [[`d2834fb97f`](https://github.com/nodejs/node/commit/d2834fb97f)] - **fs**: improve fsPromises w… 551 * [[`2b0e2706c0`](https://github.com/nodejs/node/commit/2b0e2706c0)] - **fs**: improve fsPromises r… 708 …dejs/node/commit/b819848487)] - **doc**: remove superfluous await from fsPromises.readdir example … [all …]
|
D | CHANGELOG_V10.md | 2077 * Fixed fsPromises.readdir `withFileTypes`. [#22832](https://github.com/nodejs/node/pull/22832) 2117 …nodejs/node/commit/ed142e1355)] - **doc**: add withFileTypes option to fsPromises.readdir (Bryan E… 2825 * [[`b758006c23`](https://github.com/nodejs/node/commit/b758006c23)] - **fs**: fix fsPromises.lchmo… 4662 …/node/commit/4bfc03b57d)] - ***Revert*** "**test**: add test cases for fsPromises" (Rich Trott) [#… 4663 …hub.com/nodejs/node/commit/c05c73a634)] - **test**: add test cases for fsPromises (Daijiro Wachi) …
|
D | CHANGELOG_V13.md | 903 …m/nodejs/node/commit/68557889d3)] - **doc**: update parameter type for fsPromises.chmod() (cjihrig…
|
D | CHANGELOG_V12.md | 867 …m/nodejs/node/commit/13fe137791)] - **doc**: update parameter type for fsPromises.chmod() (Colin I…
|