Skip to content

Commit 414a5d5

Browse files
committed
Fix doc links
1 parent 7715412 commit 414a5d5

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

src/rpc/client/blobs.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
//!
33
//! The main entry point is the [`Client`].
44
//!
5-
//! You obtain a [`Client`] via [`Iroh::blobs()`](crate::client::Iroh::blobs).
6-
//!
75
//! ## Interacting with the local blob store
86
//!
97
//! ### Importing data
@@ -33,7 +31,6 @@
3331
//! ## Interacting with remote nodes
3432
//!
3533
//! - [`download`](Client::download) downloads data from a remote node.
36-
//! - [`share`](Client::share) allows creating a ticket to share data with a
3734
//! remote node.
3835
//!
3936
//! ## Interacting with the blob store itself
@@ -52,13 +49,13 @@
5249
//! For complex update operations, there is a [`batch`](Client::batch) API that
5350
//! allows you to add multiple blobs in a single logical batch.
5451
//!
55-
//! Operations in a batch return [temporary tags](crate::blobs::TempTag) that
52+
//! Operations in a batch return [temporary tags](crate::util::TempTag) that
5653
//! protect the added data from garbage collection as long as the batch is
5754
//! alive.
5855
//!
5956
//! To store the data permanently, a temp tag needs to be upgraded to a
60-
//! permanent tag using [`persist`](crate::client::blobs::Batch::persist) or
61-
//! [`persist_to`](crate::client::blobs::Batch::persist_to).
57+
//! permanent tag using [`persist`](crate::rpc::client::blobs::Batch::persist) or
58+
//! [`persist_to`](crate::rpc::client::blobs::Batch::persist_to).
6259
use std::{
6360
future::Future,
6461
io,

src/rpc/client/tags.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
//!
77
//! The main entry point is the [`Client`].
88
//!
9-
//! You obtain a [`Client`] via [`Iroh::tags()`](crate::client::Iroh::tags).
10-
//!
119
//! [`Client::list`] can be used to list all tags.
1210
//! [`Client::list_hash_seq`] can be used to list all tags with a hash_seq format.
1311
//!

src/util/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ pub fn relative_canonicalized_path_to_string(path: impl AsRef<Path>) -> anyhow::
126126
canonicalized_path_to_string(path, true)
127127
}
128128

129-
/// Loads a [`SecretKey`] from the provided file, or stores a newly generated one
129+
/// Loads a [`iroh_net::key::SecretKey`] from the provided file, or stores a newly generated one
130130
/// at the given location.
131131
#[cfg(feature = "rpc")]
132132
#[cfg_attr(iroh_docsrs, doc(cfg(feature = "rpc")))]

0 commit comments

Comments
 (0)