View Source Contexted.Utils (contexted v0.3.4)

The Contexted.Utils defines utils functions for other modules.

Link to this section Summary

Functions

Returns contexts option value from contexted config or [] if it's not set.

Returns exclude_paths option value from contexted config or [] if it's not set.

Checks is enable_recompilation option is set.

Link to this section Functions

@spec get_config_app() :: :atom
@spec get_config_contexts() :: [module()]

Returns contexts option value from contexted config or [] if it's not set.

Link to this function

get_config_exclude_paths()

View Source
@spec get_config_exclude_paths() :: [String.t()]

Returns exclude_paths option value from contexted config or [] if it's not set.

Link to this function

recompilation_enabled?()

View Source
@spec recompilation_enabled?() :: boolean()

Checks is enable_recompilation option is set.