From 57e02d8732e503dbe169689454c899e389d76357 Mon Sep 17 00:00:00 2001 From: Ruediger Klaehn Date: Thu, 24 Jul 2025 10:27:34 +0300 Subject: [PATCH] Hide the xxx_sink variants from the public API --- src/api/remote.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/remote.rs b/src/api/remote.rs index 7a4055fb..9b010f69 100644 --- a/src/api/remote.rs +++ b/src/api/remote.rs @@ -499,7 +499,7 @@ impl Remote { /// is the aggregated number of downloaded payload bytes in the request. /// /// This will return the stats of the download. - pub async fn fetch_sink( + pub(crate) async fn fetch_sink( &self, mut conn: impl GetConnection, content: impl Into, @@ -573,7 +573,7 @@ impl Remote { /// Push the given blob or hash sequence to a remote node. /// /// Note that many nodes will reject push requests. Also, this is an experimental feature for now. - pub async fn execute_push_sink( + pub(crate) async fn execute_push_sink( &self, conn: Connection, request: PushRequest, @@ -654,7 +654,7 @@ impl Remote { /// This will download the data again even if the data is locally present. /// /// This will return the stats of the download. - pub async fn execute_get_sink( + pub(crate) async fn execute_get_sink( &self, conn: Connection, request: GetRequest,