MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / knownCategoryFor

Function knownCategoryFor

scripts/draft-changelog.ts:300–306  ·  view source on GitHub ↗
(subject: ParsedSubject)

Source from the content-addressed store, hash-verified

298}
299
300function knownCategoryFor(subject: ParsedSubject) {
301 return (
302 TYPE_CATEGORIES.get(subject.type) ??
303 docsCategoryFor(subject) ??
304 internalCategoryFor(subject.type)
305 );
306}
307
308function docsCategoryFor(subject: ParsedSubject) {
309 return isDocsChange(subject) ? "Docs & Examples" : undefined;

Callers 1

categorizeCommitFunction · 0.85

Calls 3

docsCategoryForFunction · 0.85
internalCategoryForFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected