Expand description
Utilities to generate or execute complex get requests without persisting to a store.
Any complex request can be executed with downloading to a store, using the
crate::api::remote::Remote::execute_get
method. But for some requests it
is useful to just get the data without persisting it to a store.
In addition to these utilities, there are also constructors in crate::protocol::ChunkRangesSeq
to construct complex requests.
Structs§
- Result of a
get_blob
request.
Enums§
- A single item in a
GetBlobResult
.
Functions§
- Probe for a single chunk of a blob.
- Given a hash of a hash seq, get the hash seq and the verified sizes of its children.
- Get the claimed size of a blob from a peer.
- Get the verified size of a blob from a peer.
- Given a sequence of sizes of children, generate a range spec that selects a random chunk of a random child.