Available on crate feature
cli
only.Expand description
Define blob-related commands.
Modules§
- tags
- Define the tags subcommand.
Structs§
- Blob
AddOptions - Options for the
blob add
command. - Provide
Progress State - Progress state for providing.
- Provide
Response Entry - Entry with a given name, size, and hash.
Enums§
- Blob
Commands - Subcommands for the blob command.
- Blob
Source - Where the data should be read from.
- Blob
Source Iroh - Data source for adding data to iroh.
- Delete
Commands - Possible delete subcommands.
- List
Commands - Possible list subcommands.
- Output
Target - Where the data should be stored.
- Ticket
Option - Whether to print an all-in-one ticket.
- Ticket
OrHash - Possible outcomes of an input.
Functions§
- add
- Adds data to iroh, either from a path or, if path is
None
, from STDIN. - add_
with_ opts - Adds a
BlobSource
given someBlobAddOptions
. - aggregate_
add_ response - Combines the
AddProgress
outputs from aStream
into a single tuple. - consistency_
check - Checks the consistency of the blobs on the running node, and repairs inconsistencies if instructed.
- print_
add_ response - Prints out the add response.
- show_
download_ progress - Displays the download progress for a given stream.
- validate
- Checks the validity of the blobs on the running node, and repairs anything invalid if instructed.