MCPcopy
hub / github.com/callumalpass/tasknotes / copyFiles

Function copyFiles

copy-files.mjs:75–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75async function copyFiles() {
76 try {
77 for (const destPath of copyPaths) {
78 await copyToDestination(destPath);
79 }
80 console.log(`✅ Copied ${files.length} files to ${copyPaths.length} destination(s)`);
81 } catch (error) {
82 console.error('❌ Failed to copy files:', error.message);
83 process.exit(1);
84 }
85}
86
87copyFiles();

Callers 1

copy-files.mjsFile · 0.85

Calls 2

copyToDestinationFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected