Module rlx_depsolver_culprit

This app does the culprit search for a failed solve.

Authors: Eric Merritt (ericbmerritt@gmail.com).

Description

This app does the culprit search for a failed solve. It searches through the goals provided by the user trying to find the first one that fails. It then returns that as the culprit along with the unknown apps from the goal, the version constrained apps from the goal, and the good apps (those not immediately constrained from the goals).

Function Index

format_constraint/1
format_culprits/1
format_error/1
format_roots/1
format_version/1
search/3start running the solver, with each run reduce the number of constraints set as goals.

Function Details

format_constraint/1

format_constraint(Pkg::rlx_depsolver:constraint()) -> list()

format_culprits/1

format_culprits(FailingDeps::[{[rlx_depsolver:constraint()], [rlx_depsolver:constraint()]}]) -> iolist()

format_error/1

format_error(Details) -> any()

format_roots/1

format_roots(Roots::[rlx_depsolver:constraints()]) -> iolist()

format_version/1

format_version(Vsn::rlx_depsolver:vsn()) -> iolist()

search/3

search(State::rlx_depsolver:dep_graph(), ActiveCons::[rlx_depsolver:constraint()], Constraints::[rlx_depsolver:constraint()]) -> term()

start running the solver, with each run reduce the number of constraints set as goals. At some point the solver should succeed.


Generated by EDoc, Jun 11 2024, 05:22:44.