Expand description
Helpers for validating and checking names like package and organization names.
Functions§
- contains_
invalid_ char - Check the package name for invalid characters.
- is_
conflicting_ artifact_ name - An artifact with this name will conflict with one of forc’s build directories.
- is_
conflicting_ suffix - These names conflict with library, macro or heap allocation suffixes, or keywords.
- is_
glob_ pattern - Returns
true
if the name contains any glob pattern wildcards. - is_
keyword - Rust keywords, further bikeshedding necessary to determine a complete set of Sway keywords
- is_
non_ ascii_ name - Returns
true
if the name contains non-ASCII characters. - is_
valid_ project_ name_ format - Check the project name format.
- is_
windows_ reserved - These names cannot be used on Windows, even with an extension.
- is_
windows_ reserved_ path - Check the entire path for names reserved in Windows.