MCPcopy
hub / github.com/colbymchenry/codegraph / getGlyphs

Function getGlyphs

src/ui/glyphs.ts:81–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79let cached: Glyphs | null = null;
80
81export function getGlyphs(): Glyphs {
82 if (cached === null) {
83 cached = supportsUnicode() ? UNICODE_GLYPHS : ASCII_GLYPHS;
84 }
85 return cached;
86}
87
88/** Reset the cached glyph set. Test-only; production code should call `getGlyphs()`. */
89export function _resetGlyphsCache(): void {

Callers 11

shimmer-worker.tsFile · 0.90
loadCodeGraphFunction · 0.90
createVerboseProgressFunction · 0.90
successFunction · 0.90
errorFunction · 0.90
infoFunction · 0.90
warnFunction · 0.90
printIndexResultFunction · 0.90
mainFunction · 0.90
renderNodeFunction · 0.90
glyphs.test.tsFile · 0.90

Calls 1

supportsUnicodeFunction · 0.85

Tested by

no test coverage detected