MCPcopy Create free account
hub / github.com/garrytan/gstack / writeProfile

Function writeProfile

test/builder-profile.test.ts:30–34  ·  view source on GitHub ↗
(entries: object[])

Source from the content-addressed store, hash-verified

28}
29
30function writeProfile(entries: object[]): void {
31 const profileFile = path.join(tmpDir, 'builder-profile.jsonl');
32 const content = entries.map(e => JSON.stringify(e)).join('\n') + '\n';
33 fs.writeFileSync(profileFile, content);
34}
35
36function makeEntry(overrides: Partial<{
37 date: string;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected