fuchsia_url::boot_url

Function validate_resource_path

Source
pub fn validate_resource_path(input: &str) -> Result<(), ResourcePathError>
Expand description

Checks if input is a valid resource path for a Fuchsia Package URL. Fuchsia package resource paths are Fuchsia object relative paths without the limit on maximum path length. https://fuchsia.dev/fuchsia-src/concepts/packages/package_url#resource-path