Module rlx_prv_app_discover

This provider uses the lib_dir setting of the state.

Copyright © (C) 2012 Erlware, LLC.

Behaviours: provider.

Authors: Eric Merritt (ericbmerritt@gmail.com).

Description

This provider uses the lib_dir setting of the state. It searches the Lib Dirs looking for all OTP Applications that are available. When it finds those OTP Applications it loads the information about them and adds them to the state of available apps. This implements the provider behaviour.

Function Index

do/1recursively dig down into the library directories specified in the state looking for OTP Applications.
format_error/1this is here to comply with the signature.
init/1

Function Details

do/1

do(State0::rlx_state:t()) -> {ok, rlx_state:t()} | relx:error()

recursively dig down into the library directories specified in the state looking for OTP Applications

format_error/1

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

this is here to comply with the signature. However, we do not actually produce any errors and so simply return an empty string.

init/1

init(State::rlx_state:t()) -> {ok, rlx_state:t()}


Generated by EDoc, Jun 11 2024, 05:32:01.