MCPcopy
hub / github.com/callumalpass/tasknotes / clearAllCaches

Method clearAllCaches

src/utils/TaskManager.ts:1213–1218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1211 }
1212
1213 async clearAllCaches(): Promise<void> {
1214 this.pendingTaskInfoByPath.clear();
1215 this.clearFilterIndexes();
1216 this.filterIndexesBuilt = false;
1217 this.trigger("data-changed");
1218 }
1219
1220 clearCacheEntry(path: string): void {
1221 this.pendingTaskInfoByPath.delete(path);

Callers 2

notifyDataChangedMethod · 0.80
refreshCacheMethod · 0.80

Calls 3

clearFilterIndexesMethod · 0.95
triggerMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected