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

Function scrollReadStart

packages/opencode/src/cli/cmd/run/tool.ts:687–692  ·  view source on GitHub ↗
(p: ToolProps<typeof ReadTool>)

Source from the content-addressed store, hash-verified

685}
686
687function scrollReadStart(p: ToolProps<typeof ReadTool>): string {
688 const file = toolPath(p.input.filePath)
689 const extra = info(p.frame.input, ["filePath"])
690 const tail = extra ? ` ${extra}` : ""
691 return `→ Read ${file}${tail}`.trim()
692}
693
694function scrollWriteStart(_: ToolProps<typeof WriteTool>): string {
695 return ""

Callers

nothing calls this directly

Calls 2

toolPathFunction · 0.85
infoFunction · 0.70

Tested by

no test coverage detected