Expand description
RPM repository interaction.
This crate facilitates interacting with RPM package repositories.
RPM repositories are defined by a base URL. Under that base URL is typically a
repodata
directory containing a repomd.xml
file. This repomd.xml
file
(represented by metadata::repomd::RepoMd) describes other metadata
files constituting the repository.
Files and data structures in the repodata
directory are defined in the
metadata module tree.
The RepositoryRootReader trait defines a generic read interface bound to a
base URL. The MetadataReader trait defines an interface to repository metadata
via a parsed repomd.xml
file.
Concrete repository readers exist. http::HttpRepositoryClient provides a reader for repositories accessed via HTTP.
Re-exports§
pub use crate::error::Result;
pub use crate::error::RpmRepositoryError;
Modules§
- RPM repository metadata XML definitions.
Traits§
- Path based content fetching.
- A read-only interface for metadata in an RPM repository.
- A read-only interface for the root of an RPM repository.