Crate stigmerge_fileindex

Source

Structs§

Error
The Error type, a wrapper around a dynamic error type.
FileBlockRef
Reference a block in a piece in a file.
FileSpec
Map file paths in the indexed content onto the payload layout.
Index
An Index represents a map of filesystem contents in a given layout, with content digests on each piece of each file, as well as a digest of the overall content.
IndexDiff
Represent the difference between two indexes.
Indexer
Indexer represents a process which indexes filesystem contents.
PayloadPiece
A piece of the content payload which is verifiable with a content digest.
PayloadSlice
PayloadSpec
Repreent the layout of the indexed content payload.
Progress
Progress of an indexing process.

Constants§

BLOCK_SIZE_BYTES
Block size in bytes. Blocks are the smallest unit of file transfer in stigmerge.
PIECE_SIZE_BLOCKS
Piece size in blocks. A piece is a verified unit of transferred content in stigmerge.
PIECE_SIZE_BYTES
One piece is 32 blocks long, or 1MiB.

Type Aliases§

Result
Result<T, Error>