diff --git a/lib/src/cli.rs b/lib/src/cli.rs index 57a004c8..d818fb71 100644 --- a/lib/src/cli.rs +++ b/lib/src/cli.rs @@ -826,7 +826,7 @@ fn handle_serialize_to_file(path: Option<&Utf8Path>, obj: T } /// Parse the provided arguments and execute. -/// Calls [`structopt::clap::Error::exit`] on failure, printing the error message and aborting the program. +/// Calls [`clap::Error::exit`] on failure, printing the error message and aborting the program. pub async fn run_from_iter(args: I) -> Result<()> where I: IntoIterator, diff --git a/lib/src/container/encapsulate.rs b/lib/src/container/encapsulate.rs index c9de2875..81efa070 100644 --- a/lib/src/container/encapsulate.rs +++ b/lib/src/container/encapsulate.rs @@ -25,6 +25,7 @@ use tracing::instrument; /// The label which may be used in addition to the standard OCI label. pub const LEGACY_VERSION_LABEL: &str = "version"; +// semver-break: Delete this and only support v1 /// Type of container image generated #[derive(Debug, Copy, Clone, PartialEq, Eq)] pub(crate) enum ExportLayout { diff --git a/lib/src/container/store.rs b/lib/src/container/store.rs index fd66359e..9323183c 100644 --- a/lib/src/container/store.rs +++ b/lib/src/container/store.rs @@ -1012,6 +1012,7 @@ pub fn query_image_commit(repo: &ostree::Repo, commit: &str) -> Result query_image pub fn query_image( repo: &ostree::Repo, imgref: &OstreeImageReference, @@ -1030,6 +1031,7 @@ fn manifest_for_image(repo: &ostree::Repo, imgref: &ImageReference) -> Result copy pub async fn copy( src_repo: &ostree::Repo, dest_repo: &ostree::Repo,