Skip to main content

Module name

Module name 

Source
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-]*.
ProfileName
A validated profile name (spec §6).

Enums§

InvalidReason
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 word is a reserved command word, ignoring ASCII case.