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

Function map

packages/opencode/test/plugin/meta.test.ts:21–23  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

19}
20
21async function map<Value>(file: string): Promise<Record<string, Value>> {
22 return Filesystem.readJson<Record<string, Value>>(file)
23}
24
25afterEach(() => {
26 delete process.env.OPENCODE_PLUGIN_META_FILE

Callers 11

DialogModelFunction · 0.50
providerOptionsFunction · 0.50
DialogMcpFunction · 0.50
checkFunction · 0.50
SettingsKeybindsFunction · 0.50
refcount.test.tsFile · 0.50
SelectFunction · 0.50
useFilteredListFunction · 0.50
metricRowsFunction · 0.50
lookupRowsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected