Module unixfs_v1::file::adder[][src]

Expand description

File adder capable of constructing UnixFs v1 trees

Structs

BalancedCollector

BalancedCollector creates balanced UnixFs trees, most optimized for random access to different parts of the file. Currently supports only link count threshold or the branching factor.

FileAdder

File tree builder. Implements core::default::Default which tracks the recent defaults.

FileAdderBuilder

Convenience type to facilitate configuring FileAdders.

Enums

Chunker

Chunker strategy

Collector

Collector or layout strategy. For more information, see the Layout section of the spec. Currently only the default balanced collector/layout has been implemented.