Copyright © (C) 2012 Erlware, LLC.
Authors: Eric Merritt (ericbmerritt@gmail.com).
This module represents useful, relevant information about an application. The relevant information is.
<ul> <li> Name - The application name as an atom </li> <li> Vsn - The application version as a list </li> <li> The root directory of the application. The directory that contains the ebin/src/priv etc </li> <li> Active Deps - The Active or 'application' dependencies of the OTP App. That is the things in the 'applications' property of the application metadata </li> <li> Library Deps - The Inactive or Library dependencies of the ATP app. That is the things in the 'included_applications property of the application metadata. </ul>abstract datatype: t()
active_deps/1 | |
active_deps/2 | |
dir/1 | |
dir/2 | |
format/1 | |
format/2 | |
format_error/1 | |
library_deps/1 | |
library_deps/2 | |
link/1 | |
link/2 | |
name/1 | |
name/2 | |
new/0 | Build a new, empty, app info value. |
new/5 | build a complete version of the app info with all fields set. |
original_vsn/1 | |
vsn/1 | |
vsn/2 | |
vsn_as_string/1 |
active_deps(App_info_t::t()) -> [atom()]
dir(App_info_t::t()) -> binary()
format(AppInfo::t()) -> iolist()
format(Indent::non_neg_integer(), App_info_t::t()) -> iolist()
format_error(Reason::term()) -> iolist()
library_deps(App_info_t::t()) -> [atom()]
link(App_info_t::t()) -> boolean()
name(App_info_t::t()) -> atom()
new() -> {ok, t()}
Build a new, empty, app info value. This is not of a lot of use and you probably wont be doing this much.
new(AppName::atom(), Vsn::string(), Dir::binary(), ActiveDeps::[atom()], LibraryDeps::[atom()]) -> {ok, t()} | relx:error()
build a complete version of the app info with all fields set.
original_vsn(App_info_t::t()) -> string()
vsn(App_info_t::t()) -> ec_semver:semver()
vsn(AppInfo::t(), AppVsn::string()) -> {ok, t()} | relx:error()
vsn_as_string(App_info_t::t()) -> string()
Generated by EDoc, May 1 2024, 06:24:12.