Skip to content

Commit 269dc3d

Browse files
committed
expose CommitError
1 parent b83d67f commit 269dc3d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/api/tokio/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use tokio::sync::{AcquireError, TryAcquireError};
2222
mod download;
2323
mod repo_info;
2424
mod upload;
25-
pub use upload::UploadSource;
25+
pub use upload::{CommitError, UploadSource};
2626

2727
/// Current version (used in user-agent)
2828
const VERSION: &str = env!("CARGO_PKG_VERSION");

src/api/tokio/upload/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use super::ApiRepo;
2-
use commit_api::{CommitError, CommitOperationAdd};
2+
use commit_api::CommitOperationAdd;
33
use commit_info::CommitInfo;
44
use futures::future::join_all;
55

6-
pub use commit_api::UploadSource;
6+
pub use commit_api::{CommitError, UploadSource};
77

88
mod commit_api;
99
mod commit_info;

0 commit comments

Comments
 (0)