(d: TemplateData)
| 182 | ].join('\n'); |
| 183 | |
| 184 | export const genHook = (d: TemplateData): string => |
| 185 | `// File served hook - override with your own implementation\nextern "C" void __attribute__((weak)) ${d.definePrefix}_onFileServed(const char* path, int statusCode) {}`; |
| 186 | |
| 187 | const getGenerator = (engine: ICopyFilesArguments['engine']): ((d: TemplateData) => string) => { |
| 188 | switch (engine) { |
no outgoing calls
no test coverage detected