Function fuchsia_url::builtin_url::validate_package_path_segment
source · pub fn validate_package_path_segment(
string: &str,
) -> Result<(), PackagePathSegmentError>
Expand description
Check if a string conforms to r“^[0-9a-z-._]{1,255}$“ and is neither “.” nor “..”