MCPcopy Index your code
hub / github.com/codegowhere/react-inject-env / copyFolder

Function copyFolder

src/utils/File.ts:21–24  ·  view source on GitHub ↗
(dir: string, copyDir: string)

Source from the content-addressed store, hash-verified

19}
20
21export function copyFolder(dir: string, copyDir: string): string {
22 shell.cp('-R', dir, copyDir)
23 return copyDir
24}
25
26export function replaceFile(dirPath: string, envConfig: Record<string, string>) {
27 const { from, to } = generateFromTo(envConfig)

Callers 1

onExecuteMethod · 0.90

Calls 1

cpMethod · 0.80

Tested by

no test coverage detected