Skip to main content

validate_name

Function validate_name 

Source
pub fn validate_name(name: &str) -> Result<(), PathReason>
Expand description

Check one component against the portable grammar. This is the single validator: NsPath uses it, and a backend that reads names back from a host directory uses it to decide which entries are addressable at all.