/third_party/node/test/parallel/ |
D | test-fs-copyfile.js | 79 fs.copyFile(src, dest, common.mustSucceed(() => { 83 fs.copyFile(src, dest, COPYFILE_EXCL, common.mustCall((err) => { 104 fs.copyFile(src, dest, 0, 0); 113 () => fs.copyFile(i, dest, common.mustNotCall()), 121 () => fs.copyFile(src, i, common.mustNotCall()), 162 fs.copyFile(src, dest, 'r', common.mustNotCall());
|
D | test-fs-promises-file-handle-sync.js | 7 const { access, copyFile, open } = require('fs').promises; 14 copyFile(fixtures.path('baz.js'), dest, 'r'), 19 await copyFile(fixtures.path('baz.js'), dest);
|
D | test-fs-null-bytes.js | 59 check(fs.copyFile, fs.copyFileSync, 'foo\u0000bar', 'abc'); 60 check(fs.copyFile, fs.copyFileSync, 'abc', 'foo\u0000bar'); 93 check(fs.copyFile, fs.copyFileSync, fileUrl, 'abc'); 94 check(fs.copyFile, fs.copyFileSync, 'abc', fileUrl); 124 check(fs.copyFile, fs.copyFileSync, fileUrl2, 'abc'); 125 check(fs.copyFile, fs.copyFileSync, 'abc', fileUrl2);
|
D | test-fs-copyfile-respect-permissions.js | 51 await assert.rejects(fs.promises.copyFile(source, dest), check); 58 fs.copyFile(source, dest, common.mustCall(check));
|
D | test-fs-promises.js | 14 copyFile, 99 await copyFile(fixtures.path('baz.js'), dest);
|
D | test-fs-error-messages.js | 669 () => fs.copyFile(existingFile, nonexistentFile, -1, () => {}), 699 fs.copyFile(existingFile, existingFile2, COPYFILE_EXCL, 720 fs.copyFile(nonexistentFile, existingFile2, COPYFILE_EXCL,
|
D | test-trace-events-fs-async.js | 57 fs.copyFile('fs4.txt', 'a.txt', () => {
|
D | test-fs-cp.mjs | 42 // This test is based on fs.promises.copyFile() with `COPYFILE_FICLONE_FORCE`. 461 // This test is based on fs.promises.copyFile() with `COPYFILE_FICLONE_FORCE`. 879 // This test is based on fs.promises.copyFile() with `COPYFILE_FICLONE_FORCE`.
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
D | graceful-fs.js | 170 var fs$copyFile = fs.copyFile 172 fs.copyFile = copyFile 173 function copyFile (src, dest, flags, cb) { function
|
/third_party/node/typings/internalBinding/ |
D | fs.d.ts | 72 …function copyFile(src: StringOrBuffer, dest: StringOrBuffer, mode: number, req: FSReqCallback): vo… 73 …function copyFile(src: StringOrBuffer, dest: StringOrBuffer, mode: number, req: undefined, ctx: FS… 74 …function copyFile(src: StringOrBuffer, dest: StringOrBuffer, mode: number, usePromises: typeof kUs… 240 copyFile: typeof InternalFSBinding.copyFile;
|
/third_party/node/lib/internal/fs/cp/ |
D | cp-sync.js | 209 if (!destStat) return copyFile(srcStat, src, dest, opts); 216 return copyFile(srcStat, src, dest, opts); 228 function copyFile(srcStat, src, dest, opts) { function
|
D | cp.js | 39 copyFile, 260 await copyFile(src, dest, opts.mode);
|
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/ |
D | move-file.js | 42 await fs.copyFile(source, destination)
|
/third_party/weex-loader/src/ |
D | util.js | 366 copyFile(inputFile, outputFile); 374 function copyFile(inputFile, outputFile) { function
|
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/cp/ |
D | polyfill.js | 39 copyFile, 307 await copyFile(src, dest)
|
/third_party/node/deps/npm/node_modules/cacache/lib/content/ |
D | read.js | 76 return fs.copyFile(cpath, dest)
|
/third_party/node/lib/internal/fs/ |
D | promises.js | 573 async function copyFile(src, dest, mode) { function 577 return binding.copyFile(pathModule.toNamespacedPath(src), 1032 copyFile, property
|
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
D | install.js | 143 await fs.promises.copyFile(path.join(src, entry.name), path.join(dest, entry.name))
|
/third_party/node/lib/ |
D | fs.js | 2932 function copyFile(src, dest, mode, callback) { function 2948 binding.copyFile(src, dest, mode, req); 2968 binding.copyFile(src, dest, mode, undefined, ctx); 3072 copyFile,
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_fileio.js | 291 copyFile: function (...args) { method
|
/third_party/node/doc/api/ |
D | fs.md | 916 ### `fsPromises.copyFile(src, dest[, mode])` 952 import { copyFile, constants } from 'node:fs/promises'; 955 await copyFile('source.txt', 'destination.txt'); 963 await copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL); 978 the copy behavior as the `mode` argument of `fs.copyFile()`. 1004 See `mode` flag of [`fsPromises.copyFile()`][]. 2237 ### `fs.copyFile(src, dest[, mode], callback)` 2279 import { copyFile, constants } from 'node:fs'; 2287 copyFile('source.txt', 'destination.txt', callback); 2290 copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback); [all …]
|
/third_party/node/deps/corepack/dist/lib/ |
D | corepack.cjs | 9753 var fs$copyFile = fs7.copyFile; 9754 if (fs$copyFile) 9755 fs7.copyFile = copyFile; 9756 function copyFile(src, dest, flags, cb) { 9761 return go$copyFile(src, dest, flags, cb); 9762 function go$copyFile(src2, dest2, flags2, cb2, startTime) { 9763 return fs$copyFile(src2, dest2, flags2, function(err) { 9765 … enqueue([go$copyFile, [src2, dest2, flags2, cb2], err, startTime || Date.now(), Date.now()]); 9999 "copyFile", 10548 return copyFile(srcStat, src, dest, opts); [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/asciidoctor-chunker/ |
D | asciidoctor-chunker.js | 4 ….atimeMs)))(e)(n)){const r=t.dirname(n);return await l(r)||await a(r),o.copyFile(e,n).then((e=>n))…
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V8.md | 2926 * add fs.copyFile and fs.copyFileSync which allows for more efficient 3046 …com/nodejs/node/commit/71f90c6f80)] - **(SEMVER-MINOR)** **fs**: add fs.copyFile{Sync} (cjihrig) […
|
D | CHANGELOG_V10.md | 912 …dejs/node/commit/583dc5f42c)] - **test**: add known\_issues test for fs.copyFile() (Rich Trott) [#… 4521 …88d9e9)] - **(SEMVER-MINOR)** **fs**: expose copy-on-write flags for fs.copyFile() (cjihrig) [#197…
|