MCPcopy Index your code
hub / github.com/SocketCluster/socketcluster / copyDirRecursive

Function copyDirRecursive

bin/actions/create.js:15–25  ·  view source on GitHub ↗
(src, dest, opts)

Source from the content-addressed store, hash-verified

13} = require('../lib');
14
15const copyDirRecursive = (src, dest, opts) => {
16 try {
17 fs.copySync(src, dest);
18 return true;
19 } catch (e) {
20 opts.errorLog(
21 'Failed to create necessary files. Please check your permissions and try again.',
22 );
23 }
24 return false;
25};
26
27const createSuccess = (destinationDir, opts) => {
28 console.log(

Callers 2

confirmReplaceSetupFunction · 0.85
createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…