MCPcopy Index your code
hub / github.com/nodejs/node / test-fs-cp-sync-overwrite-force-true.mjs

File test-fs-cp-sync-overwrite-force-true.mjs

test/parallel/test-fs-cp-sync-overwrite-force-true.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This tests that cpSync overwrites existing files if force is true.
2import { mustNotMutateObjectDeep } from '../common/index.mjs';
3import { nextdir, assertDirEquivalent } from '../common/fs.js';
4import assert from 'node:assert';

Callers

nothing calls this directly

Calls 10

nextdirFunction · 0.90
assertDirEquivalentFunction · 0.90
mustNotMutateObjectDeepFunction · 0.85
writeFileSyncFunction · 0.85
cpSyncFunction · 0.85
mkdirSyncFunction · 0.70
joinFunction · 0.50
readFileSyncFunction · 0.50
refreshMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected