MCPcopy Create free account
hub / github.com/cloudflare/templates / constructor

Method constructor

cli/src/npm.ts:101–103  ·  view source on GitHub ↗
(repoRoot: string)

Source from the content-addressed store, hash-verified

99 templates: Config["templates"] = {};
100
101 constructor(repoRoot: string) {
102 this.configPath = path.resolve(repoRoot, "./templates.json");
103 }
104
105 async load(): Promise<TemplatesConfig> {
106 const cfg = await fs

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected