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

Method load

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

Source from the content-addressed store, hash-verified

338 }
339
340 private load(): void {
341 const data = this.storage.load();
342 if (data) {
343 this.limits = data.limits;
344 this.history = data.history;
345 this.cleanup();
346 }
347 }
348}
349
350export function formatDuration(seconds: number): string {

Callers 1

constructorMethod · 0.95

Calls 2

cleanupMethod · 0.95
loadMethod · 0.65

Tested by

no test coverage detected