Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
3
import
{ mustCall, mustNotMutateObjectDeep } from
'../common/index.mjs'
;
4
import
{ nextdir } from
'../common/fs.js'
;
Callers
nothing calls this directly
Calls
7
nextdir
Function · 0.90
cpSync
Function · 0.85
mustNotMutateObjectDeep
Function · 0.85
mustCall
Function · 0.70
cp
Function · 0.50
refresh
Method · 0.45
path
Method · 0.45
Tested by
no test coverage detected