MCPcopy Index your code
hub / github.com/anomalyco/opencode / data

Function data

packages/opencode/src/cli/cmd/export.ts:15–18  ·  view source on GitHub ↗
(kind: string, id: string, value: Record<string, unknown> | undefined)

Source from the content-addressed store, hash-verified

13}
14
15function data(kind: string, id: string, value: Record<string, unknown> | undefined) {
16 if (!value) return value
17 return Object.keys(value).length ? { redacted: `${kind}:${id}` } : value
18}
19
20function span(id: string, value: { value: string; start: number; end: number }) {
21 return {

Callers 1

partFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected