Function validate_extension
pub(in ::path) fn validate_extension(extension: &OsStr)
Checks whether the string is valid as a file extension, or panics otherwise.
validate_extensionpub(in ::path) fn validate_extension(extension: &OsStr)
Checks whether the string is valid as a file extension, or panics otherwise.