MCPcopy Create free account
hub / github.com/nodejs/node / test-fs-cp-sync-dereference-twice.mjs

File test-fs-cp-sync-dereference-twice.mjs

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

Source from the content-addressed store, hash-verified

1// This tests that cpSync does not fail if the same directory is copied to dest twice,
2// when dereference is true, and force is false (fails silently).
3import { mustNotMutateObjectDeep } from '../common/index.mjs';
4import { nextdir } from '../common/fs.js';

Callers

nothing calls this directly

Calls 9

nextdirFunction · 0.90
cpSyncFunction · 0.85
mustNotMutateObjectDeepFunction · 0.85
joinFunction · 0.50
lstatSyncFunction · 0.50
assertFunction · 0.50
refreshMethod · 0.45
pathMethod · 0.45
isFileMethod · 0.45

Tested by

no test coverage detected