MCPcopy
hub / github.com/electron/forge / copyTemplateFile

Method copyTemplateFile

packages/template/base/src/BaseTemplate.ts:125–130  ·  view source on GitHub ↗
(destDir: string, basename: string)

Source from the content-addressed store, hash-verified

123 }
124
125 async copyTemplateFile(destDir: string, basename: string): Promise<void> {
126 await this.copy(
127 path.join(this.templateDir, basename),
128 path.resolve(destDir, basename),
129 );
130 }
131
132 async initializePackageJSON(directory: string): Promise<void> {
133 const packageJSON = await fs.readJson(

Callers 4

initializeTemplateMethod · 0.80
initializeTemplateMethod · 0.80
initializeTemplateMethod · 0.80
initializeTemplateMethod · 0.80

Calls 1

copyMethod · 0.95

Tested by

no test coverage detected