about summary refs log tree commit diff stats
path: root/src/download/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/download/mod.rs2
1 files changed, 1 insertions, 1 deletions
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<u64> {
+    pub async fn get_current_cache_allocation(app: &App) -> Result<u64> {
         fn dir_size(mut dir: fs::ReadDir) -> BoxFuture<'static, Result<u64>> {
             async move {
                 let mut acc = 0;