MCPcopy Create free account
hub / github.com/anomalyco/opencode / render

Function render

packages/core/src/instruction-context.ts:97–99  ·  view source on GitHub ↗
(files: ReadonlyArray<File>)

Source from the content-addressed store, hash-verified

95})
96
97function render(files: ReadonlyArray<File>) {
98 return files.map((file) => `Instructions from: ${file.path}\n${file.content}`).join("\n\n")
99}

Callers 1

sourceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected