Crate fuchsia_url

source ·

Re-exports

Modules

Structs

  • A URL locating a Fuchsia component. Has the form “fuchsia-pkg:///[/variant][?hash=]#” where:
  • A URL locating a Fuchsia component. Can be either absolute or relative. See AbsoluteComponentUrl and RelativeComponentUrl for more details. https://fuchsia.dev/fuchsia-src/concepts/packages/package_url
  • A 32 byte hash.
  • A Fuchsia Package Name. Package names are the first segment of the path. https://fuchsia.dev/fuchsia-src/concepts/packages/package_url#package-name
  • A Fuchsia Package Variant. Package variants are the optional second segment of the path.
  • A URL locating a Fuchsia package. Must have a hash. Has the form “fuchsia-pkg:///[/variant]?hash=” where:
  • A relative URL locating a Fuchsia component. Used with a subpackage context. Has the form “#” where:
  • A relative URL locating a Fuchsia package. Used with a subpackage context. Has the form “” where:
  • A URL locating a Fuchsia package repository. Has the form “fuchsia-pkg://”, where “repository” is a valid hostname. https://fuchsia.dev/fuchsia-src/concepts/packages/package_url?hl=en#repository
  • A URL locating a Fuchsia package. Cannot have a hash. Has the form “fuchsia-pkg:///[/variant]” where:

Enums

  • A URL locating a Fuchsia package. Has the form “fuchsia-pkg:///[/variant][?hash=]” where:
  • A URL locating a Fuchsia package. Can be either absolute or relative. See AbsolutePackageUrl and RelativePackageUrl for more details. https://fuchsia.dev/fuchsia-src/concepts/packages/package_url

Constants

Functions

  • 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