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

Function claim

scripts/coordination.js:57–65  ·  view source on GitHub ↗
(id, scope, type, desc)

Source from the content-addressed store, hash-verified

55}
56
57function claim(id, scope, type, desc) {
58 try {
59 claimScope(id, scope, type, desc);
60 console.log(`Claimed scope: ${scope.join(', ')}`);
61 } catch (error) {
62 console.error(error.message);
63 process.exit(1);
64 }
65}
66
67function release(id) {
68 const removed = releaseClaim(id);

Callers 1

coordination.jsFile · 0.85

Calls 1

claimScopeFunction · 0.85

Tested by

no test coverage detected