Searched refs:copyFileSync (Results 1 – 19 of 19) sorted by relevance
/third_party/node/test/parallel/ |
D | test-fs-copyfile.js | 51 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);
|
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-macos-app-sandbox.js | 32 fs.copyFileSync( 35 fs.copyFileSync(
|
D | test-fs-fsync.js | 36 fs.copyFileSync(fileFixture, fileTemp);
|
D | test-child-process-fork-exec-path.js | 51 fs.copyFileSync(nodePath, copyPath, fs.constants.COPYFILE_FICLONE);
|
D | test-fs-copyfile-respect-permissions.js | 44 assert.throws(() => { fs.copyFileSync(source, dest); }, check);
|
D | test-fs-lchown.js | 59 fs.copyFileSync(__filename, testFile);
|
D | test-fs-open-flags.js | 90 fs.copyFileSync(fixtures.path('a.js'), file);
|
D | test-require-symlink.js | 37 fs.copyFileSync(fullPathSource, fullPathTarget);
|
D | test-module-loading-globalpaths.js | 32 fs.copyFileSync(process.execPath, testExecPath, COPYFILE_FICLONE);
|
D | test-fs-error-messages.js | 678 () => fs.copyFileSync(existingFile, nonexistentFile, -1), 708 () => fs.copyFileSync(existingFile, existingFile2, COPYFILE_EXCL), 729 () => fs.copyFileSync(nonexistentFile, existingFile2, COPYFILE_EXCL),
|
/third_party/typescript/scripts/importDefinitelyTypedTests/ |
D | importDefinitelyTypedTests.ts | 44 function copyFileSync(source: string, destination: string) { function 82 copyFileSync(outputFilePath, testCasePath);
|
/third_party/node/deps/npm/node_modules/node-gyp/test/ |
D | test-addon.js | 137 fs.copyFileSync(process.execPath, notNodePath)
|
/third_party/node/deps/npm/node_modules/cacache/lib/content/ |
D | read.js | 90 return fs.copyFileSync(cpath, dest)
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_fileio.js | 303 copyFileSync: function (...args) { method
|
/third_party/node/lib/ |
D | fs.js | 2052 function copyFileSync(src, dest, mode) { function 2095 copyFileSync,
|
/third_party/node/doc/api/ |
D | fs.md | 4180 ### `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/ |
D | CHANGELOG_V10.md | 3814 …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…
|
D | CHANGELOG_V8.md | 2898 * add fs.copyFile and fs.copyFileSync which allows for more efficient
|