Skip to content

Commit

Permalink
feat(cli): implement FilesUploadStatusNotifier trait for lib code
Browse files Browse the repository at this point in the history
This would allow users of this struct to override the default stdout
printing and instead provide thier own custom impl
  • Loading branch information
RolandSherwin authored and bochaco committed Apr 9, 2024
1 parent 798f28e commit 1d4761a
Show file tree
Hide file tree
Showing 3 changed files with 227 additions and 100 deletions.
2 changes: 1 addition & 1 deletion sn_cli/src/files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mod upload;
pub use chunk_manager::ChunkManager;
pub use download::{download_file, download_files};
pub use estimate::Estimator;
pub use files_uploader::FilesUploader;
pub use files_uploader::{FilesUploadStatusNotifier, FilesUploader};
pub use upload::{UploadedFile, UPLOADED_FILES};

use color_eyre::Result;
Expand Down
Loading

0 comments on commit 1d4761a

Please sign in to comment.