Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion src/cli/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use clap::{Parser, Subcommand};
use prettytable::{format, row, Table};

use crate::cli::{inspect, ls, rm};
use crate::downloader::downloader::Downloader;
use crate::downloader::huggingface::HuggingFaceDownloader;
use crate::downloader::Downloader;
use crate::registry::model_registry::ModelRegistry;
use crate::system::system_info::SystemInfo;
use crate::utils::format::{format_size_decimal, format_time_ago};
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/downloader/huggingface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use tracing::debug;
use hf_hub::api::tokio::{ApiBuilder, Progress};
use indicatif::{ProgressBar, ProgressStyle};

use crate::downloader::downloader::{DownloadError, Downloader};
use crate::downloader::progress::{DownloadProgressManager, FileProgress};
use crate::downloader::{DownloadError, Downloader};
use crate::registry::model_registry::{CacheInfo, ModelInfo, ModelMetadata, ModelRegistry};
use crate::utils::file::{self, format_model_name};

Expand Down
5 changes: 3 additions & 2 deletions src/downloader/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#[allow(clippy::module_inception)]
pub mod downloader;
pub mod download;
pub mod huggingface;
pub mod progress;

pub use download::{DownloadError, Downloader};
4 changes: 2 additions & 2 deletions src/storage/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pub mod model_storage;
pub mod sqlite;
pub mod storage_trait;

pub use model_storage::ModelStorage;
pub use sqlite::SqliteStorage;
pub use storage_trait::ModelStorage;
File renamed without changes.
Loading