Home
last modified time | relevance | path

Searched refs:copyFileSync (Results 1 – 19 of 19) sorted by relevance

/third_party/node/test/parallel/
Dtest-fs-copyfile.js51 const result = fs.copyFileSync(src, dest);
56 fs.copyFileSync(src, dest, 0);
61 fs.copyFileSync(src, dest, UV_FS_COPYFILE_FICLONE);
67 fs.copyFileSync(src, dest, COPYFILE_FICLONE_FORCE);
129 () => fs.copyFileSync(i, dest),
137 () => fs.copyFileSync(src, i),
147 fs.copyFileSync(src, dest, 'r');
155 fs.copyFileSync(src, dest, 8);
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-macos-app-sandbox.js32 fs.copyFileSync(
35 fs.copyFileSync(
Dtest-fs-fsync.js36 fs.copyFileSync(fileFixture, fileTemp);
Dtest-child-process-fork-exec-path.js51 fs.copyFileSync(nodePath, copyPath, fs.constants.COPYFILE_FICLONE);
Dtest-fs-copyfile-respect-permissions.js44 assert.throws(() => { fs.copyFileSync(source, dest); }, check);
Dtest-fs-lchown.js59 fs.copyFileSync(__filename, testFile);
Dtest-fs-open-flags.js90 fs.copyFileSync(fixtures.path('a.js'), file);
Dtest-require-symlink.js37 fs.copyFileSync(fullPathSource, fullPathTarget);
Dtest-module-loading-globalpaths.js32 fs.copyFileSync(process.execPath, testExecPath, COPYFILE_FICLONE);
Dtest-fs-error-messages.js678 () => fs.copyFileSync(existingFile, nonexistentFile, -1),
708 () => fs.copyFileSync(existingFile, existingFile2, COPYFILE_EXCL),
729 () => fs.copyFileSync(nonexistentFile, existingFile2, COPYFILE_EXCL),
/third_party/typescript/scripts/importDefinitelyTypedTests/
DimportDefinitelyTypedTests.ts44 function copyFileSync(source: string, destination: string) { function
82 copyFileSync(outputFilePath, testCasePath);
/third_party/node/deps/npm/node_modules/node-gyp/test/
Dtest-addon.js137 fs.copyFileSync(process.execPath, notNodePath)
/third_party/node/deps/npm/node_modules/cacache/lib/content/
Dread.js90 return fs.copyFileSync(cpath, dest)
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_fileio.js303 copyFileSync: function (...args) { method
/third_party/node/lib/
Dfs.js2052 function copyFileSync(src, dest, mode) { function
2095 copyFileSync,
/third_party/node/doc/api/
Dfs.md4180 ### `fs.copyFileSync(src, dest[, mode])`
4214 import { copyFileSync, constants } from 'fs';
4217 copyFileSync('source.txt', 'destination.txt');
4221 copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
/third_party/node/doc/changelogs/
DCHANGELOG_V10.md3814 …https://github.com/nodejs/node/commit/4dce39a919)] - **test**: use fs.copyFileSync() (Richard Lau)…
4052 …om/nodejs/node/commit/4eb45b884d)] - **(SEMVER-MAJOR)** **fs**: throw copyFileSync errors in JS (J…
DCHANGELOG_V8.md2898 * add fs.copyFile and fs.copyFileSync which allows for more efficient