Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunksMapper ¶
type ChunksMapper struct {
// contains filtered or unexported fields
}
func NewFileChunksMapper ¶
func NewFileChunksMapper(fileSize int64) *ChunksMapper
func (*ChunksMapper) Add ¶
func (mapper *ChunksMapper) Add(chunk chunks.ChunkInfo)
func (*ChunksMapper) FillChunksMap ¶
func (mapper *ChunksMapper) FillChunksMap(chunkChannel <-chan chunks.ChunkInfo)
func (*ChunksMapper) GetMappedChunks ¶
func (mapper *ChunksMapper) GetMappedChunks() []chunks.ChunkInfo
func (*ChunksMapper) GetMissingChunks ¶
func (mapper *ChunksMapper) GetMissingChunks() []chunks.ChunkInfo
Click to show internal directories.
Click to hide internal directories.