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

Method setCurrentVisibleTaskPaths

src/bases/TaskListView.ts:2241–2248  ·  view source on GitHub ↗
(tasks: TaskInfo[])

Source from the content-addressed store, hash-verified

2239 }
2240
2241 private setCurrentVisibleTaskPaths(tasks: TaskInfo[]): void {
2242 this.currentVisibleTaskPaths.clear();
2243 this.currentVisibleTaskOrder.clear();
2244 tasks.forEach((task, index) => {
2245 this.currentVisibleTaskPaths.add(task.path);
2246 this.currentVisibleTaskOrder.set(task.path, index);
2247 });
2248 }
2249
2250 private clearClickTimeouts(): void {
2251 for (const timeout of this.clickTimeouts.values()) {

Callers 5

renderFlatMethod · 0.95
renderGroupedMethod · 0.95
refreshGroupedViewMethod · 0.95

Calls 2

setMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected