Module hank_context

rebar3 contextual data turned into a type that we can also manually build, if needed.

Description

rebar3 contextual data turned into a type that we can also manually build, if needed

Data Types

apps_dirs()

apps_dirs() = #{atom() => file:filename()}

t()

abstract datatype: t()

Function Index

app_dir/2Return the root folder for an app.
from_rebar_state/1Build a context from a rebar3 state.
new/2Build a context from scratch.
project_apps/1

Function Details

app_dir/2

app_dir(App::atom(), X2::t()) -> undefined | file:filename()

Return the root folder for an app

from_rebar_state/1

from_rebar_state(State::rebar_state:t()) -> t()

Build a context from a rebar3 state

new/2

new(AppDirs::apps_dirs(), ProjectApps::[atom()]) -> t()

Build a context from scratch

project_apps/1

project_apps(X1::t()) -> [atom()]


Generated by EDoc