Skip to main content

validate_component

Function validate_component 

Source
pub fn validate_component(component: &str) -> Result<(), String>
Expand description

Validate a single path component against the StructFS grammar.

Returns a human-readable description of the problem on failure.