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

Function splitMenuLabel

graph-ui/src/app/AtlasChrome.tsx:101–104  ·  view source on GitHub ↗
(label: string)

Source from the content-addressed store, hash-verified

99 * stehen, statt dass eine erfundene Klammer erscheint.
100 */
101export function splitMenuLabel(label: string): MenuItem {
102 const match = /^\s*\[([^\]])\](.*)$/.exec(label);
103 return match === null ? { key: '', rest: label } : { key: match[1], rest: match[2] };
104}
105
106/**
107 * Die Menuezeile aus dem Vorbild. Jeder Punkt traegt seinen Buchstaben, und der

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected