Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Trigger a release of c2patool to pick up latest c2pa-rs changes #895

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#![doc = include_str!("../README.md")]

/// Tool to display and create C2PA manifests
/// Tool to display and create C2PA manifests.
///
/// A file path to an asset must be provided. If only the path
/// is given, this will generate a summary report of any claims
Expand Down Expand Up @@ -195,7 +195,7 @@ struct ManifestDef {
ingredient_paths: Option<Vec<PathBuf>>,
}

// convert certain errors to output messages
// Convert certain errors to output messages.
fn special_errs(e: c2pa::Error) -> anyhow::Error {
match e {
Error::JumbfNotFound => anyhow!("No claim found"),
Expand All @@ -206,7 +206,7 @@ fn special_errs(e: c2pa::Error) -> anyhow::Error {
}
}

// normalize extensions so we can compare them
// Normalize extensions so we can compare them.
fn ext_normal(path: &Path) -> String {
let ext = path
.extension()
Expand Down