MCPcopy Create free account
hub / github.com/cursor/cookbook / normalizeLabel

Function normalizeLabel

sdk/coding-agent-cli/src/agent.ts:463–465  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

461}
462
463function normalizeLabel(value: string) {
464 return value.toLowerCase().replace(/[^a-z0-9]+/g, "")
465}
466
467function labelFromId(id: string) {
468 return id

Callers 2

labelsMatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected