MCPcopy Index your code
hub / github.com/BlockRunAI/ClawRouter / save

Method save

src/spend-control.ts:333–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

331 }
332
333 private save(): void {
334 this.storage.save({
335 limits: { ...this.limits },
336 history: [...this.history],
337 });
338 }
339
340 private load(): void {
341 const data = this.storage.load();

Callers 3

setLimitMethod · 0.95
clearLimitMethod · 0.95
recordMethod · 0.95

Calls 1

saveMethod · 0.65

Tested by

no test coverage detected