MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / isTaskBlocked

Method isTaskBlocked

src/utils/DependencyCache.ts:645–650  ·  view source on GitHub ↗

* Check if a task is blocked by dependencies (status-aware) * Only returns true if the task has blocking dependencies that are NOT completed

(taskPath: string)

Source from the content-addressed store, hash-verified

643 * Only returns true if the task has blocking dependencies that are NOT completed
644 */
645 isTaskBlocked(taskPath: string): boolean {
646 if (!this.indexesBuilt) {
647 this.buildIndexesSync();
648 }
649 return (this.activeDependencySources.get(taskPath)?.size ?? 0) > 0;
650 }
651
652 /**
653 * Get tasks referencing a project

Callers

nothing calls this directly

Calls 2

buildIndexesSyncMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected