From 1879a719e4a2abb20ba913349e067cce7c6c0050 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Thu, 9 Jun 2022 14:47:15 +1000 Subject: [PATCH] Rm fn `helpers::download` Signed-off-by: Jiahao XU --- src/helpers.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/helpers.rs b/src/helpers.rs index 614819ab..b0451295 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -51,12 +51,6 @@ pub async fn remote_exists(url: Url, method: Method) -> Result>(url: &str, path: P) -> Result<(), BinstallError> { - let url = Url::parse(url)?; - download_and_extract::<_, 0>(url, PkgFmt::Bin, path.as_ref(), None).await -} - /// Download a file from the provided URL and extract it to the provided path /// /// * `desired_outputs - If Some(_) and `fmt` is not `PkgFmt::Bin` or