MCPcopy
hub / github.com/midrender/revideo / copy

Function copy

packages/create/index.js:238–245  ·  view source on GitHub ↗
(src, dest)

Source from the content-addressed store, hash-verified

236}
237
238function copy(src, dest) {
239 const stat = fs.statSync(src);
240 if (stat.isDirectory()) {
241 copyDirectory(src, dest);
242 } else {
243 fs.copyFileSync(src, dest);
244 }
245}
246
247function getPackageManager() {
248 const ua = process.env.npm_config_user_agent;

Callers 1

copyDirectoryFunction · 0.85

Calls 1

copyDirectoryFunction · 0.85

Tested by

no test coverage detected