fuchsia_url::builtin_url

Function 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 “..”