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. - Check the project name format.
- These names cannot be used on Windows, even with an extension.
- Check the entire path for names reserved in Windows.