MCPcopy Index your code
hub / github.com/nodejs/node / test-fs-cp-async-error-on-exist.mjs

File test-fs-cp-async-error-on-exist.mjs

test/parallel/test-fs-cp-async-error-on-exist.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This tests that cp() returns error if errorOnExist is true, force is false, and file or folder copied over.
2
3import { mustCall, mustNotMutateObjectDeep } from '../common/index.mjs';
4import { nextdir } from '../common/fs.js';

Callers

nothing calls this directly

Calls 7

nextdirFunction · 0.90
cpSyncFunction · 0.85
mustNotMutateObjectDeepFunction · 0.85
mustCallFunction · 0.70
cpFunction · 0.50
refreshMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected