* Get overdue task paths from the due-date index.
()
| 791 | * Get overdue task paths from the due-date index. |
| 792 | */ |
| 793 | getOverdueTaskPaths(): Set<string> { |
| 794 | const overdue = new Set<string>(); |
| 795 | const today = getTodayString(); |
| 796 | this.ensureFilterIndexes(); |
| 797 | |
| 798 | for (const [dueDate, paths] of this.dueDateIndex) { |
| 799 | if (!isBeforeDateSafe(dueDate, today)) { |
| 800 | continue; |
| 801 | } |
| 802 | for (const path of paths) { |
| 803 | const entry = this.taskFilterEntries.get(path); |
| 804 | if (entry && !entry.isCompleted) { |
| 805 | overdue.add(path); |
| 806 | } |
| 807 | } |
| 808 | } |
| 809 | |
| 810 | return overdue; |
| 811 | } |
| 812 | |
| 813 | /** |
| 814 | * Get all unique statuses from the filter index. |
nothing calls this directly
no test coverage detected