Skip to main content

is_safe_component

Function is_safe_component 

Source
pub fn is_safe_component(name: &str) -> bool
Expand description

Returns true if name is a safe single path component.

Convenience wrapper over validate_component for boolean checks.