rebar3_nova_utils (rebar3_nova v0.13.3)

View Source

Summary

Functions

copy_priv_file(PrivRelPath, DestPath)

-spec copy_priv_file(file:filename(), file:filename()) -> ok.

ensure_dir(Path)

-spec ensure_dir(file:filename()) -> ok.

get_app_dir(State)

-spec get_app_dir(rebar_state:t()) -> file:filename().

get_app_name(State)

-spec get_app_name(rebar_state:t()) -> atom().

load_sys_config(State)

-spec load_sys_config(rebar_state:t()) -> [{atom(), term()}].

parse_actions(Str)

-spec parse_actions(string()) -> [atom()].

write_file(Path, Content)

-spec write_file(file:filename(), iodata()) -> ok.

write_file_if_not_exists(Path, Content)

-spec write_file_if_not_exists(file:filename(), iodata()) -> ok | skipped.