MCPcopy Index your code
hub / github.com/nodejs/node / lazyLoadCp

Function lazyLoadCp

lib/fs.js:1356–1362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1354}
1355
1356function lazyLoadCp() {
1357 if (cpFn === undefined) {
1358 ({ cpFn } = require('internal/fs/cp/cp'));
1359 cpFn = require('util').callbackify(cpFn);
1360 ({ cpSyncFn } = require('internal/fs/cp/cp-sync'));
1361 }
1362}
1363
1364function lazyLoadRimraf() {
1365 if (rimraf === undefined)

Callers 2

cpFunction · 0.85
cpSyncFunction · 0.85

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…