MCPcopy Create free account
hub / github.com/Ark0N/Codeman / validateDependencies

Method validateDependencies

src/task-queue.ts:188–196  ·  view source on GitHub ↗

* Validates that a set of dependencies won't create cycles for a given task. * Throws an error if a circular dependency is detected. * * @param taskId - The task ID that will have these dependencies * @param dependencies - Array of dependency task IDs to validate * @throws Error if a

(taskId: string, dependencies: string[])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

addTaskMethod · 0.95
task-queue.test.tsFile · 0.80

Calls 1

wouldCreateCycleMethod · 0.95

Tested by

no test coverage detected