Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultHasher ¶
Types ¶
type Splitter ¶
type Splitter interface {
ReadManifest(path string) (*Manifest, error)
Assemble(mf *Manifest, dst io.Writer) error
Split(source io.Reader, dstDir string) (string, error)
StreamChunks(source io.Reader, chunks chan *Chunk, done chan string) error
SplitParallel(source io.Reader, dstDir string) (string, error)
ChunkerPolynomial() chunker.Pol
SetHasher(h hasher.Hasher)
}
func DefaultSplitter ¶
func DefaultSplitter() Splitter
Click to show internal directories.
Click to hide internal directories.