MCPcopy
hub / github.com/CopilotKit/CopilotKit / delete

Method delete

packages/bot/src/transcripts.ts:93–97  ·  view source on GitHub ↗
(q: { userKey: string })

Source from the content-addressed store, hash-verified

91 }
92
93 async delete(q: { userKey: string }): Promise<{ deleted: number }> {
94 const n = (await this.state.list.range(keyFor(q.userKey))).length;
95 await this.state.list.delete(keyFor(q.userKey));
96 return { deleted: n };
97 }
98}

Callers

nothing calls this directly

Calls 2

keyForFunction · 0.70
deleteMethod · 0.65

Tested by

no test coverage detected