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

Function scrollListStart

packages/opencode/src/cli/cmd/run/tool.ts:892–899  ·  view source on GitHub ↗
(p: ToolProps)

Source from the content-addressed store, hash-verified

890}
891
892function scrollListStart(p: ToolProps): string {
893 const dir = text(dict(p.input).path)
894 if (!dir) {
895 return "→ List"
896 }
897
898 return `→ List ${toolPath(dir)}`
899}
900
901function scrollWebfetchStart(p: ToolProps<typeof WebFetchTool>): string {
902 const url = p.input.url ?? ""

Callers

nothing calls this directly

Calls 3

toolPathFunction · 0.85
textFunction · 0.70
dictFunction · 0.70

Tested by

no test coverage detected