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

Method pruneExcludedPendingTaskInfo

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

Source from the content-addressed store, hash-verified

1122 }
1123
1124 private pruneExcludedPendingTaskInfo(): void {
1125 for (const path of this.pendingTaskInfoByPath.keys()) {
1126 if (!this.isValidFile(path)) {
1127 this.pendingTaskInfoByPath.delete(path);
1128 }
1129 }
1130 }
1131
1132 subscribe(event: string, callback: (...args: unknown[]) => void): () => void {
1133 this.on(event, callback);

Callers 1

updateConfigMethod · 0.95

Calls 2

isValidFileMethod · 0.95
deleteMethod · 0.65

Tested by

no test coverage detected