[pbs-devel] [PATCH proxmox-backup 2/3] pull: remove unnecessary `pub` visibility
Fabian Grünbichler
f.gruenbichler at proxmox.com
Fri Apr 29 11:17:26 CEST 2022
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 <f.gruenbichler at proxmox.com>
---
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<BackupReader>,
tgt_store: Arc<DataStore>,
@@ -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,
--
2.30.2
More information about the pbs-devel
mailing list