MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / clearFilterState

Method clearFilterState

src/services/ViewStateManager.ts:89–93  ·  view source on GitHub ↗

* Clear filter state for a specific view

(viewType: string)

Source from the content-addressed store, hash-verified

87 * Clear filter state for a specific view
88 */
89 clearFilterState(viewType: string): void {
90 delete this.filterState[viewType];
91 this.saveToStorage();
92 this.emit("filter-state-cleared", { viewType });
93 }
94
95 /**
96 * Clear all filter states

Callers

nothing calls this directly

Calls 2

saveToStorageMethod · 0.95
emitMethod · 0.80

Tested by

no test coverage detected