Skip to content

Commit

Permalink
expose uploadsource
Browse files Browse the repository at this point in the history
  • Loading branch information
arilotter committed Oct 29, 2024
1 parent 10a01ad commit 2dfe54b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/api/tokio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use tokio::sync::{AcquireError, TryAcquireError};
mod download;
mod repo_info;
mod upload;
pub use upload::UploadSource;

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

use super::ApiRepo;
pub use commit_api::UploadSource;

mod commit_api;
mod commit_info;
Expand Down

0 comments on commit 2dfe54b

Please sign in to comment.