Crate fuchsia_pkg

Source

Re-exports§

pub use crate::package_directory::LoadAbiRevisionError;
pub use crate::package_directory::LoadMetaContentsError;
pub use crate::package_directory::PackageDirectory;
pub use crate::package_directory::ReadHashError;

Modules§

package_directory
Typesafe wrappers around an open package directory.
test

Structs§

BlobInfo
MetaContents
A MetaContents represents the “meta/contents” file of a Fuchsia archive file of a Fuchsia package. It validates that all resource paths are valid and that none of them start with “meta/”.
MetaPackage
A MetaPackage represents the “meta/package” file of a meta.far (which is a Fuchsia archive file of a Fuchsia package). It validates that the name and variant (called “version” in json) are valid.
MetaSubpackages
A MetaSubpackages represents the “meta/fuchsia.pkg/subpackages” file of a Fuchsia archive file of a Fuchsia package. It validates that all subpackage names are valid.
PackageArchiveBuilder
PackageBuildManifest
Package file list
PackageBuilder
A builder for Fuchsia Packages
PackageManifest
PackageManifestBuilder
PackageManifestList
PackageManifestList is a construct that points at a path that contains a package manifest list. This will be used by the packaging tooling to understand when packages have changed.
PackageName
A Fuchsia Package Name. Package names are the first segment of the path. https://fuchsia.dev/fuchsia-src/concepts/packages/package_url#package-name
PackagePath
A Fuchsia Package Path. Paths must currently be “{name}/{variant}”.
PackageVariant
A Fuchsia Package Variant. Package variants are the optional second segment of the path.
SubpackageInfo
SubpackagesBuildManifest
Helper type for reading the build-time information based on the subpackage declarations declared in a build file (such as the subpackages list in a fuchsia_package() target, in BUILD.gn).
SubpackagesBuildManifestEntry

Enums§

BuildError
MetaContentsError
MetaPackageError
MetaSubpackagesError
PackageBuildManifestError
PackageManifestError
PackagePathSegmentError
ParsePackagePathError
RelativeTo
If the path is a relative path, what is it relative from?
SubpackagesBuildManifestEntryKind

Constants§

ABI_REVISION_FILE_PATH

Traits§

PathToStringExt
Extension trait for getting a String from a Path.