From c05f4317b299f1ebaff4955339f6d9ce44e9891b Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 23 Aug 2024 18:29:58 +0200 Subject: feat(status): Also show the cache usage --- src/download/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/download/mod.rs') diff --git a/src/download/mod.rs b/src/download/mod.rs index 4aee136..ad807f6 100644 --- a/src/download/mod.rs +++ b/src/download/mod.rs @@ -134,7 +134,7 @@ impl Downloader { Ok(()) } - async fn get_current_cache_allocation(app: &App) -> Result { + pub async fn get_current_cache_allocation(app: &App) -> Result { fn dir_size(mut dir: fs::ReadDir) -> BoxFuture<'static, Result> { async move { let mut acc = 0; -- cgit 1.4.1