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

Function storedView

packages/tui/src/feature-plugins/system/diff-viewer.tsx:81–83  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

79}
80
81function storedView(value: unknown): DiffView | undefined {
82 if (value === "split" || value === "unified") return value
83}
84
85function diffSourceLabel(mode: DiffMode) {
86 if (mode === "last-turn") return "last turn"

Callers 1

DiffViewerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected