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 2
2
//!
3
3
//! The main entry point is the [`Client`].
4
4
//!
5
- //! You obtain a [`Client`] via [`Iroh::blobs()`](crate::client::Iroh::blobs).
6
- //!
7
5
//! ## Interacting with the local blob store
8
6
//!
9
7
//! ### Importing data
33
31
//! ## Interacting with remote nodes
34
32
//!
35
33
//! - [`download`](Client::download) downloads data from a remote node.
36
- //! - [`share`](Client::share) allows creating a ticket to share data with a
37
34
//! remote node.
38
35
//!
39
36
//! ## Interacting with the blob store itself
52
49
//! For complex update operations, there is a [`batch`](Client::batch) API that
53
50
//! allows you to add multiple blobs in a single logical batch.
54
51
//!
55
- //! Operations in a batch return [temporary tags](crate::blobs ::TempTag) that
52
+ //! Operations in a batch return [temporary tags](crate::util ::TempTag) that
56
53
//! protect the added data from garbage collection as long as the batch is
57
54
//! alive.
58
55
//!
59
56
//! 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).
62
59
use std:: {
63
60
future:: Future ,
64
61
io,
Original file line number Diff line number Diff line change 6
6
//!
7
7
//! The main entry point is the [`Client`].
8
8
//!
9
- //! You obtain a [`Client`] via [`Iroh::tags()`](crate::client::Iroh::tags).
10
- //!
11
9
//! [`Client::list`] can be used to list all tags.
12
10
//! [`Client::list_hash_seq`] can be used to list all tags with a hash_seq format.
13
11
//!
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::
126
126
canonicalized_path_to_string ( path, true )
127
127
}
128
128
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
130
130
/// at the given location.
131
131
#[ cfg( feature = "rpc" ) ]
132
132
#[ cfg_attr( iroh_docsrs, doc( cfg( feature = "rpc" ) ) ) ]
You can’t perform that action at this time.
0 commit comments