View Source Dependents.Tree (Dependents Tree v0.1.26)

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. 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

t()

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

Specs

app() :: Application.app()

Local app

Specs

dcys() :: non_neg_integer()

Number of local dependencies

Specs

dep() :: Application.app()

Local dependent

Specs

deps() :: non_neg_integer()

Number of local dependents

Specs

rank() :: pos_integer()

Topological rank

Specs

ranks() :: %{required(app()) => rank()}

Ranks of topologically ordered apps

Specs

t() :: %{required(app()) => [dcys() | dep()]}

Tree mapping local apps to local dependents

Specs

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

Specs

new() :: t()

See Dependents.Tree.Proxy.new/0.

Specs

projects_dir() :: String.t()

Returns the projects directory as set by environment variable PROJEX_DIR.

Specs

to_maps(:* | app()) :: [table_map()]

Converts the Dependents.Tree of all or a single app into table maps.

Specs

to_maps(t(), ranks()) :: [table_map()]

See Dependents.Tree.Proxy.to_maps/2.