Function
buildVisibleOrderLookup
(visibleTaskPaths?: string[])
Source from the content-addressed store, hash-verified
| 246 | } |
| 247 | |
| 248 | function buildVisibleOrderLookup(visibleTaskPaths?: string[]): Map<string, number> { |
| 249 | const lookup = new Map<string, number>(); |
| 250 | if (!visibleTaskPaths) return lookup; |
| 251 | visibleTaskPaths.forEach((path, index) => { |
| 252 | lookup.set(path, index); |
| 253 | }); |
| 254 | return lookup; |
| 255 | } |
| 256 | |
| 257 | function getVisibleOrderedTasks( |
| 258 | columnTasks: TaskInfo[], |
Tested by
no test coverage detected