MCPcopy Create free account
hub / github.com/dyoshikawa/rulesync / getOpencodeConfigDir

Function getOpencodeConfigDir

src/features/opencode-config.ts:25–33  ·  view source on GitHub ↗
({
  outputRoot,
  global = false,
}: {
  outputRoot: string;
  global?: boolean;
})

Source from the content-addressed store, hash-verified

23 * @see https://opencode.ai/docs/agents/#json
24 */
25export function getOpencodeConfigDir({
26 outputRoot,
27 global = false,
28}: {
29 outputRoot: string;
30 global?: boolean;
31}): string {
32 return join(outputRoot, global ? OPENCODE_GLOBAL_DIR : ".");
33}
34
35export async function readOpencodeConfig({
36 outputRoot,

Callers 3

readOpencodeConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…