MCPcopy Create free account
hub / github.com/chhoumann/quickadd / clear

Method clear

src/utils/InputPromptDraftStore.ts:111–114  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

109 }
110
111 clear(key: string): void {
112 this.drafts.delete(key);
113 this.pendingSubmittedDraftKeys.delete(key);
114 }
115
116 clearAll(): void {
117 this.drafts.clear();

Callers 4

handleSubmittedDraftMethod · 0.95
commitExecutionScopeMethod · 0.95
clearAllMethod · 0.45
resetExecutionScopeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected