Module rebar_digraph

build a digraph of applications in order to figure out dependency and compile order.

Description

build a digraph of applications in order to figure out dependency and compile order.

Function Index

compile_order/1Sort apps with topological sort to get proper build order.
format_error/1convert a given exception's payload into an io description.
restore_graph/1based on a list of vertices and edges, build a digraph.
subgraph/2alias for digraph_utils:subgraph/2.

Function Details

compile_order/1

compile_order(Apps::[rebar_app_info:t()]) -> {ok, [rebar_app_info:t()]} | {error, no_sort | {cycles, [[binary(), ...]]}}

Sort apps with topological sort to get proper build order

format_error/1

format_error(X1::any()) -> iolist()

convert a given exception's payload into an io description.

restore_graph/1

restore_graph(X1::{[digraph:vertex()], [digraph:edge()]}) -> digraph:graph()

based on a list of vertices and edges, build a digraph.

subgraph/2

subgraph(Graph, Vertices) -> any()

alias for digraph_utils:subgraph/2.


Generated by EDoc