MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / copyMdFiles

Function copyMdFiles

packages/cli/scripts/build-copy.mjs:49–56  ·  view source on GitHub ↗
(srcDir, destDir)

Source from the content-addressed store, hash-verified

47}
48
49function copyMdFiles(srcDir, destDir) {
50 if (!existsSync(srcDir)) return;
51 for (const name of readdirSync(srcDir)) {
52 if (name.endsWith(".md")) {
53 cpSync(join(srcDir, name), join(destDir, name));
54 }
55 }
56}
57
58// fallow-ignore-next-line complexity
59async function main() {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected