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

File test-fs-cp-async-dereference-symlink.mjs

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

Source from the content-addressed store, hash-verified

1// This tests that cp() copies file itself, rather than symlink, when dereference is true.
2
3import { mustCall, mustNotMutateObjectDeep } from '../common/index.mjs';
4import { nextdir } from '../common/fs.js';

Callers

nothing calls this directly

Calls 12

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

Tested by

no test coverage detected