Module forc_util::restricted
source · [−]Expand description
Helpers for validating and checking names like package and organization names.
Functions
Check the package name for invalid characters.
An artifact with this name will conflict with one of forc’s build directories.
These names conflict with library, macro or heap allocation suffixes, or keywords.
Returns true
if the name contains any glob pattern wildcards.
Rust keywords, further bikeshedding necessary to determine a complete set of Sway keywords
Returns true
if the name contains non-ASCII characters.
These names cannot be used on Windows, even with an extension.
Check the entire path for names reserved in Windows.