Home
last modified time | relevance | path

Searched refs:copyFile (Results 1 – 25 of 28) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-fs-copyfile.js79 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());
Dtest-fs-promises-file-handle-sync.js7 const { access, copyFile, open } = require('fs').promises;
14 copyFile(fixtures.path('baz.js'), dest, 'r'),
19 await copyFile(fixtures.path('baz.js'), dest);
Dtest-fs-null-bytes.js59 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);
Dtest-fs-copyfile-respect-permissions.js51 await assert.rejects(fs.promises.copyFile(source, dest), check);
58 fs.copyFile(source, dest, common.mustCall(check));
Dtest-fs-promises.js14 copyFile,
99 await copyFile(fixtures.path('baz.js'), dest);
Dtest-fs-error-messages.js669 () => fs.copyFile(existingFile, nonexistentFile, -1, () => {}),
699 fs.copyFile(existingFile, existingFile2, COPYFILE_EXCL,
720 fs.copyFile(nonexistentFile, existingFile2, COPYFILE_EXCL,
Dtest-trace-events-fs-async.js57 fs.copyFile('fs4.txt', 'a.txt', () => {
Dtest-fs-cp.mjs42 // 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/
Dgraceful-fs.js170 var fs$copyFile = fs.copyFile
172 fs.copyFile = copyFile
173 function copyFile (src, dest, flags, cb) { function
/third_party/node/typings/internalBinding/
Dfs.d.ts72 …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/
Dcp-sync.js209 if (!destStat) return copyFile(srcStat, src, dest, opts);
216 return copyFile(srcStat, src, dest, opts);
228 function copyFile(srcStat, src, dest, opts) { function
Dcp.js39 copyFile,
260 await copyFile(src, dest, opts.mode);
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/
Dmove-file.js42 await fs.copyFile(source, destination)
/third_party/weex-loader/src/
Dutil.js366 copyFile(inputFile, outputFile);
374 function copyFile(inputFile, outputFile) { function
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/cp/
Dpolyfill.js39 copyFile,
307 await copyFile(src, dest)
/third_party/node/deps/npm/node_modules/cacache/lib/content/
Dread.js76 return fs.copyFile(cpath, dest)
/third_party/node/lib/internal/fs/
Dpromises.js573 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/
Dinstall.js143 await fs.promises.copyFile(path.join(src, entry.name), path.join(dest, entry.name))
/third_party/node/lib/
Dfs.js2932 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/
Dohos_fileio.js291 copyFile: function (...args) { method
/third_party/node/doc/api/
Dfs.md916 ### `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/
Dcorepack.cjs9753 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/
Dasciidoctor-chunker.js4 ….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/
DCHANGELOG_V8.md2926 * 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) […
DCHANGELOG_V10.md912 …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…

12