MCPcopy Create free account
hub / github.com/ShipSecAI/studio / loadTemplate

Function loadTemplate

e2e-tests/scripts/setup-e2e-env.ts:67–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65];
66
67function loadTemplate(): string {
68 if (existsSync(TEMPLATE_PATH)) {
69 return readFileSync(TEMPLATE_PATH, 'utf8');
70 }
71 return '';
72}
73
74function ensureDir(path: string) {
75 const dir = dirname(path);

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected