assertNoCycles
Detects dependency cycles in the module graph and throws an AssertionError if a cycle is found. The verification is performed using a Depth-First Search (DFS) traversal.
Throws
if any circular dependency is detected.
Detects dependency cycles in the module graph and throws an AssertionError if a cycle is found. The verification is performed using a Depth-First Search (DFS) traversal.
if any circular dependency is detected.