anvl_fn ¶This module contains functions for composing and manipulating directory and file names.
-spec wildcard(string() | [string()],
file:filename()) -> [file:filename()].
Run filelib:wildcard/2 in a specified directory,
which is added to every found path.
-spec stringify_atoms([component()]) -> [string()].
Convert all atoms in the filename component list to strings.
-spec ensure_type(file:filename(), list) -> [integer()];
(file:filename(), binary) -> binary().
Convert filename to the specified type.
-spec workdir([component()], binary) -> binary();
([component()], list) -> [integer()].
Same as workdir/1, but only returns values of the specified type.
-spec proj_dir(anvl_project:t(),
[component()]) -> file:filename().
Return a filename relative to the project root.
-spec rootdir([component()]) -> file:filename().
Return a filename relative to the root project directory.
-spec workdir([component()]) -> file:filename().
Return a filename within the working directory by joining the list of components.