Contexted.Utils (contexted v0.3.0)

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

Link to this function

get_config_contexts()

@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()

@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?()

@spec recompilation_enabled?() :: boolean()

Checks is enable_recompilation option is set.