From aa0739176458a71c3e9ec7c11baf026786ee42b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 29 Apr 2022 11:17:26 +0200 Subject: [PATCH] pull: remove unnecessary `pub` visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pull_store is the entrypoint used by other code, the rest does not need to be visible at all. Signed-off-by: Fabian Grünbichler --- src/server/pull.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/pull.rs b/src/server/pull.rs index c0831417..674c7826 100644 --- a/src/server/pull.rs +++ b/src/server/pull.rs @@ -469,7 +469,7 @@ async fn pull_snapshot( Ok(()) } -pub async fn pull_snapshot_from( +async fn pull_snapshot_from( worker: &WorkerTask, reader: Arc, tgt_store: Arc, @@ -556,7 +556,7 @@ impl std::fmt::Display for SkipInfo { } } -pub async fn pull_group( +async fn pull_group( worker: &WorkerTask, client: &HttpClient, params: &PullParameters,