(date: Date)
| 1163 | } |
| 1164 | |
| 1165 | async getTaskInfoForDate(date: Date): Promise<TaskInfo[]> { |
| 1166 | const dateStr = formatDateForStorage(date); |
| 1167 | const taskPaths = this.getTasksForDate(dateStr); |
| 1168 | const tasks: TaskInfo[] = []; |
| 1169 | |
| 1170 | for (const path of taskPaths) { |
| 1171 | const taskInfo = await this.getTaskInfo(path); |
| 1172 | if (taskInfo) { |
| 1173 | tasks.push(taskInfo); |
| 1174 | } |
| 1175 | } |
| 1176 | |
| 1177 | return tasks; |
| 1178 | } |
| 1179 | |
| 1180 | getTaskPathsByDate(dateStr: string): Set<string> { |
| 1181 | return new Set(this.getTasksForDate(dateStr)); |
nothing calls this directly
no test coverage detected