MCPcopy Create free account
hub / github.com/arctic-cli/interface / save

Function save

packages/arctic/src/session/counter.ts:24–26  ·  view source on GitHub ↗
(data: FeedbackState)

Source from the content-addressed store, hash-verified

22 }
23
24 async function save(data: FeedbackState): Promise<void> {
25 await Bun.write(file, JSON.stringify(data, null, 2))
26 }
27
28 export async function shouldShowFeedback(sessionCount: number): Promise<boolean> {
29 const state = await load()

Callers 2

markFeedbackShownFunction · 0.70
resetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected