Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
let known: Set<string> | undefined
25
26
function getFiles() {
27
if (files) return files
28
files = import.meta.glob<{ default: DesktopTheme }>(
"./themes/*.json"
)
29
return files
30
}
31
32
function themeIDs() {
33
if (ids) return ids
Callers
2
themeIDs
Function · 0.70
load
Function · 0.70
Calls
1
glob
Method · 0.65
Tested by
no test coverage detected