Expand description
Profile-name validation (spec §6) and the reserved command words (spec §5.3).
Structs§
- AgentId
- An agent identifier:
[a-z][a-z0-9-]*. - Profile
Name - A validated profile name (spec §6).
Enums§
- Invalid
Reason - Why a profile name is invalid.
- Platform
- Which rule set applies. The Windows-only rules of spec §6 are a parameter so every OS tests both.
Constants§
- RESERVED_
WORDS - The v0.1 reserved command words (spec §5.3). A profile name must not equal one, ignoring ASCII case.
- WINDOWS_
DEVICE_ 🔒NAMES - Windows device names (spec §6), rejected with or without an extension.
Functions§
- is_
reserved_ word - Whether
wordis a reserved command word, ignoring ASCII case.