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

Function findTimelineFile

test/timeline.test.ts:69–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67});
68
69function findTimelineFile(): string | null {
70 const projectDirs = fs.readdirSync(slugDir);
71 if (projectDirs.length === 0) return null;
72 const f = path.join(slugDir, projectDirs[0], 'timeline.jsonl');
73 return fs.existsSync(f) ? f : null;
74}
75
76describe('gstack-timeline-log', () => {
77 test('accepts valid JSON and appends to timeline.jsonl', () => {

Callers 1

timeline.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected