File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 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
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
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).
6259use std:: {
6360 future:: Future ,
6461 io,
Original file line number Diff line number Diff line change 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//!
Original file line number Diff line number Diff 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" ) ) ) ]
You can’t perform that action at this time.
0 commit comments