Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZSync ¶
type ZSync struct { BlockSize int64 ChecksumsIndex *index.ChecksumIndex RemoteFileUrl string RemoteFileSize int64 }
func NewZSyncFromControl ¶
func (*ZSync) SearchReusableChunks ¶
func (*ZSync) WriteChunk ¶
func (zsync *ZSync) WriteChunk(source io.ReadSeeker, target io.WriteSeeker, chunk chunks.ChunkInfo) error
Directories ¶
Path | Synopsis |
---|---|
Package chunks provides the basic structure for a pair of the weak and strong checksums.
|
Package chunks provides the basic structure for a pair of the weak and strong checksums. |
Package index provides the functionality to describe a reference 'file' and its contents in terms of the weak and strong checksums, in such a way that you can check if a weak checksum is present, then check if there is a strong checksum that matches.
|
Package index provides the functionality to describe a reference 'file' and its contents in terms of the weak and strong checksums, in such a way that you can check if a weak checksum is present, then check if there is a strong checksum that matches. |
Click to show internal directories.
Click to hide internal directories.