Module iroh_blobs::cli 
source · Available on crate feature 
cli only.Expand description
Define blob-related commands.
Modules§
- Define the tags subcommand.
 
Structs§
- Options for the
blob addcommand. - Progress state for providing.
 - Entry with a given name, size, and hash.
 
Enums§
- Subcommands for the blob command.
 - Where the data should be read from.
 - Data source for adding data to iroh.
 - Possible delete subcommands.
 - Possible list subcommands.
 - Where the data should be stored.
 - Whether to print an all-in-one ticket.
 - Possible outcomes of an input.
 
Functions§
- Adds data to iroh, either from a path or, if path is
None, from STDIN. - Adds a
BlobSourcegiven someBlobAddOptions. - Combines the
AddProgressoutputs from a [Stream] into a single tuple. - Checks the consistency of the blobs on the running node, and repairs inconsistencies if instructed.
 - Prints out the add response.
 - Displays the download progress for a given stream.
 - Checks the validity of the blobs on the running node, and repairs anything invalid if instructed.