View Source Dependents.Tree (Dependents Tree v0.1.30)
Converts the Dependents.Tree
of all or a single app into table maps.
The dependencies of an app are specified in the mix.exs
file.
The dependents of an app are those apps using it as a dependency.
Link to this section Summary
Types
Local app
Number of local dependencies
Local dependent
Number of local dependents
Topological rank
Ranks of topologically ordered apps
Tree mapping local apps to local dependents
Table map for printing
Functions
Returns the projects directory as set by environment variable PROJEX_DIR
.
Converts the Dependents.Tree
of all or a single app into table maps.
Link to this section Types
@type app() :: Application.app()
Local app
@type dcys() :: non_neg_integer()
Number of local dependencies
@type dep() :: Application.app()
Local dependent
@type deps() :: non_neg_integer()
Number of local dependents
@type rank() :: pos_integer()
Topological rank
Ranks of topologically ordered apps
Tree mapping local apps to local dependents
@type table_map() :: %{ rank: rank(), chunk: pos_integer(), ver: String.t() | nil, hex: String.t() | nil, app: app() | nil, dcys: dcys() | nil, deps: deps() | nil, dependent_1: dep() | nil, dependent_2: dep() | nil, dependent_3: dep() | nil, dependent_4: dep() | nil }
Table map for printing
Link to this section Functions
@spec new() :: t()
@spec projects_dir() :: String.t()
Returns the projects directory as set by environment variable PROJEX_DIR
.
Converts the Dependents.Tree
of all or a single app into table maps.