MCPcopy Create free account
hub / github.com/anomalyco/opencode / getFiles

Function getFiles

packages/ui/src/theme/context.tsx:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24let known: Set<string> | undefined
25
26function getFiles() {
27 if (files) return files
28 files = import.meta.glob<{ default: DesktopTheme }>("./themes/*.json")
29 return files
30}
31
32function themeIDs() {
33 if (ids) return ids

Callers 2

themeIDsFunction · 0.70
loadFunction · 0.70

Calls 1

globMethod · 0.65

Tested by

no test coverage detected