View Source Cascade.Checks (Cascade v0.2.0)
Useful generic checks for templates.
Summary
Functions
Ensure that the given directory exists
Ensure that the given module name is available.
Ensure that the given name
is a valid module name.
Functions
@spec check_directory_existence!(name :: String.t()) :: :ok
Ensure that the given directory exists
@spec check_module_name_availability!(name :: String.t()) :: :ok
Ensure that the given module name is available.
@spec check_module_name_validity!(name :: String.t()) :: :ok
Ensure that the given name
is a valid module name.