pub fn validate_path_part(s: &str) -> Result<(), ValidationError>
Expand description
Validate a path component (file or directory name).
ยงErrors
Returns ValidationError
if any of the validation checks fails.
pub fn validate_path_part(s: &str) -> Result<(), ValidationError>
Validate a path component (file or directory name).
Returns ValidationError
if any of the validation checks fails.