MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / writeProjectHooks

Function writeProjectHooks

test-hook-trust.mjs:28–31  ·  view source on GitHub ↗
(cwd, obj)

Source from the content-addressed store, hash-verified

26}
27
28function writeProjectHooks(cwd, obj) {
29 mkdirSync(join(cwd, ".orbcode"), { recursive: true })
30 writeFileSync(join(cwd, ".orbcode", "settings.json"), JSON.stringify(obj))
31}
32
33// 1. Untrusted project hooks are NOT loaded, and are reported as pending.
34{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected