MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / categoryWord

Function categoryWord

src/ui-server/api/effects.ts:541–562  ·  view source on GitHub ↗
(category: string)

Source from the content-addressed store, hash-verified

539
540/** The word the legend and a box's sub line use for a category. */
541export function categoryWord(category: string): string {
542 switch (category) {
543 case 'database':
544 return 'database';
545 case 'response':
546 return 'response';
547 case 'queue':
548 return 'queue';
549 case 'email':
550 return 'email';
551 case 'payments':
552 return 'payments';
553 case 'cache':
554 return 'cache';
555 case 'auth':
556 return 'auth';
557 case 'process':
558 return 'process';
559 default:
560 return category;
561 }
562}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected