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

Function bucket

src/tools/git/classify-commits.ts:105–112  ·  view source on GitHub ↗
(commits: RawCommit[])

Source from the content-addressed store, hash-verified

103}
104
105export function bucket(commits: RawCommit[]): CategoryBuckets {
106 const out: CategoryBuckets = { breaking: [], features: [], fixes: [], perf: [], docs: [], internal: [], other: [] };
107 for (const c of commits) {
108 const cls = classifyCommit(c);
109 out[cls.category].push(cls);
110 }
111 return out;
112}
113
114const SECTION_LABELS: Record<ReleaseCategory, string> = {
115 breaking: 'Breaking changes',

Callers 2

executeMethod · 0.85

Calls 2

classifyCommitFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected