importfix

v0.1.0
io.github.CloudCorpRecords/importfix Checked 2 hours ago Published 29 days ago

Detect circular imports, report the exact cycle per component, and suggest a break point.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_import_cycles

Detect circular imports in a module graph. Reports exactly one representative cycle per cyclic strongly connected component (not all elementary cycles), plus single-node self-loops, each with the exact cycle nodes and edges and a suggested break point whose target has the fewest dependents in the graph.

ParameterTypeDescription
modules *arrayModules in the graph; each entry names a module path and the paths it imports