pub fn validate_name(s: &str) -> Result<(), ValidationError>Expand description
Validate a name (app name, author name).
We currently force all text to be printable ASCII. Keep in mind that the validation DOES NOT ensure that the text is a safe file name. You need to sanitize it first to use in a file path.
ยงErrors
Returns ValidationError if any of the validation checks fails.