MCPcopy Index your code
hub / github.com/nodejs/node / test-fs-cp-async-symlink-over-file.mjs

File test-fs-cp-async-symlink-over-file.mjs

test/parallel/test-fs-cp-async-symlink-over-file.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This tests that cp() returns EEXIST error if attempt is made to copy symlink over file.
2
3import { mustCall, mustNotMutateObjectDeep } from '../common/index.mjs';
4import { nextdir } from '../common/fs.js';

Callers

nothing calls this directly

Calls 9

nextdirFunction · 0.90
mustNotMutateObjectDeepFunction · 0.85
symlinkSyncFunction · 0.85
writeFileSyncFunction · 0.85
mkdirSyncFunction · 0.70
mustCallFunction · 0.70
joinFunction · 0.50
cpFunction · 0.50
refreshMethod · 0.45

Tested by

no test coverage detected