Skip to content

fix: Hide the xxx_sink variants from the public API #123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/api/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<HashAndFormat>,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
Loading