Documentation
¶
Index ¶
- func HashChunkData(ctx context.Context, store ChunkGetter, hashes []core.Hash) (core.Hash, error)
- func HashFileContent(path string) (core.Hash, error)
- func NewChunkReader(ctx context.Context, store ChunkGetter, hashes []core.Hash) io.Reader
- func PeekHeader(r io.Reader, n int) (header []byte, rest io.Reader, err error)
- type ChunkGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashChunkData ¶
func NewChunkReader ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.