Skip to content

Commit

Permalink
expose CommitError
Browse files Browse the repository at this point in the history
  • Loading branch information
arilotter committed Nov 18, 2024
1 parent b83d67f commit 601944e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/tokio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use tokio::sync::{AcquireError, TryAcquireError};
mod download;
mod repo_info;
mod upload;
pub use upload::UploadSource;
pub use upload::{CommitError, UploadSource};

/// Current version (used in user-agent)
const VERSION: &str = env!("CARGO_PKG_VERSION");
Expand Down
2 changes: 1 addition & 1 deletion src/api/tokio/upload/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use commit_api::{CommitError, CommitOperationAdd};
use commit_info::CommitInfo;
use futures::future::join_all;

pub use commit_api::UploadSource;
pub use commit_api::{CommitError, UploadSource};

mod commit_api;
mod commit_info;
Expand Down

0 comments on commit 601944e

Please sign in to comment.