MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / plainKind

Function plainKind

graph-ui/src/twin/strings.ts:493–505  ·  view source on GitHub ↗
(kind: CodeAtlasSymbolKind)

Source from the content-addressed store, hash-verified

491 * not spend their attention on one.
492 */
493export function plainKind(kind: CodeAtlasSymbolKind): string {
494 switch (kind) {
495 case 'function': return 'function';
496 case 'method': return 'method';
497 case 'class': return 'class';
498 case 'interface': return 'contract other code has to satisfy';
499 case 'module': return 'file';
500 case 'variable': return 'value';
501 case 'type': return 'shape';
502 case 'route': return 'endpoint';
503 case 'unknown': return 'piece of code';
504 }
505}
506
507export function proseLead(name: string, kind: CodeAtlasSymbolKind): string {
508 return `${name} is a ${plainKind(kind)}.`;

Callers 2

subjectLineFunction · 0.90
proseLeadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected