MCPcopy
hub / github.com/anomalyco/opencode / html

Function html

packages/desktop/src/renderer/html.test.ts:9–9  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

7const root = resolve(dir, "../..")
8
9const html = async (name: string) => Bun.file(join(dir, name)).text()
10
11/**
12 * Packaged Electron windows load renderer HTML via the privileged `oc://`

Callers 4

html.test.tsFile · 0.85
ContentMarkdownFunction · 0.85
ContentCodeFunction · 0.85
MarkdownFunction · 0.85

Calls 3

joinFunction · 0.85
fileMethod · 0.80
textMethod · 0.65

Tested by

no test coverage detected