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

Method save

src/spend-control.ts:66–66  ·  view source on GitHub ↗
(data: { limits: SpendLimits; history: SpendRecord[] })

Source from the content-addressed store, hash-verified

64export interface SpendControlStorage {
65 load(): { limits: SpendLimits; history: SpendRecord[] } | null;
66 save(data: { limits: SpendLimits; history: SpendRecord[] }): void;
67}
68
69export class FileSpendControlStorage implements SpendControlStorage {

Callers 1

saveMethod · 0.65

Implementers 3

FileSpendControlStoragesrc/spend-control.ts
InMemorySpendControlStoragesrc/spend-control.ts
SpendControlsrc/spend-control.ts

Calls

no outgoing calls

Tested by

no test coverage detected