MCPcopy Create free account
hub / github.com/massCodeIO/massCode / getSpaceLabel

Function getSpaceLabel

src/renderer/composables/useCommandPalette.ts:405–407  ·  view source on GitHub ↗
(spaceId: SpaceId)

Source from the content-addressed store, hash-verified

403}
404
405function getSpaceLabel(spaceId: SpaceId) {
406 return getSpaceDefinitions().find(space => space.id === spaceId)!.label
407}
408
409function normalizeSearchToken(value: string) {
410 return value.trim().toLowerCase()

Callers 1

Calls 1

getSpaceDefinitionsFunction · 0.90

Tested by

no test coverage detected