MCPcopy Create free account
hub / github.com/SethGammon/Citadel / sandbox

Function sandbox

scripts/verify-hooks.js:39–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38// ── Utilities ─────────────────────────────────────────────────────────────────
39
40function sandbox() {
41 const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'citadel-verify-'));
42 fs.mkdirSync(path.join(dir, '.claude'), { recursive: true });
43 return dir;
44}
45
46function cleanup(dir) {

Callers 1

verify-hooks.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected