MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / bucketsToJson

Function bucketsToJson

src/tools/git/release-notes.ts:198–204  ·  view source on GitHub ↗
(b: CategoryBuckets)

Source from the content-addressed store, hash-verified

196}
197
198function bucketsToJson(b: CategoryBuckets): Record<string, Array<{ sha: string; subject: string; scope?: string; date: string; author: string }>> {
199 const out: Record<string, Array<{ sha: string; subject: string; scope?: string; date: string; author: string }>> = {};
200 for (const [k, arr] of Object.entries(b) as Array<[string, CategoryBuckets[keyof CategoryBuckets]]>) {
201 out[k] = arr.map(c => ({ sha: c.sha, subject: c.subject, scope: c.scope, date: c.date, author: c.author }));
202 }
203 return out;
204}

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected