MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / blockFor

Function blockFor

__tests__/installer-targets.test.ts:139–141  ·  view source on GitHub ↗

The block target `id` writes: OpenCode's names the tool the way OpenCode lists it (#1267).

(id: string)

Source from the content-addressed store, hash-verified

137
138/** The block target `id` writes: OpenCode's names the tool the way OpenCode lists it (#1267). */
139function blockFor(id: string): string {
140 return id === 'opencode' ? OPENCODE_INSTRUCTIONS_BLOCK : CODEGRAPH_INSTRUCTIONS_BLOCK;
141}
142
143describe('Installer targets — contract', () => {
144 let tmpHome: string;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected