* Get blocking task paths (tasks this task depends on)
(taskPath: string)
| 602 | * Get blocking task paths (tasks this task depends on) |
| 603 | */ |
| 604 | getBlockingTaskPaths(taskPath: string): string[] { |
| 605 | if (!this.indexesBuilt) { |
| 606 | tasknotesLogger.warn( |
| 607 | "DependencyCache: getBlockingTaskPaths called before indexes built, building now...", |
| 608 | { |
| 609 | category: "stale-data", |
| 610 | operation: |
| 611 | "dependencycache-getblockingtaskpaths-called-indexes-built-building-now", |
| 612 | } |
| 613 | ); |
| 614 | // Build synchronously by reading current state |
| 615 | this.buildIndexesSync(); |
| 616 | } |
| 617 | const blocking = this.dependencySources.get(taskPath); |
| 618 | return blocking ? Array.from(blocking) : []; |
| 619 | } |
| 620 | |
| 621 | /** |
| 622 | * Get blocked task paths (tasks that depend on this task) |
nothing calls this directly
no test coverage detected