Versions in this module Expand all Collapse all v0 v0.4.0 Mar 6, 2024 v0.3.0 Mar 5, 2024 Changes in this version + const DefaultBlockSize + const MaxBlockSize v0.2.2 Mar 5, 2024 v0.2.1 Mar 5, 2024 v0.2.0 Mar 5, 2024 v0.1.0 Mar 5, 2024 Changes in this version + const M + type App struct + func New(blockSize int) *App + func (a *App) Delta(signatureFilePath string, sourceFilePath string, deltaFilePath string) error + func (a *App) Signature(targetFilePath string, signatureFilePath string) error + func (r *App) ComputeDelta(source io.Reader, blockList []Block) ([]Operation, error) + func (r *App) ComputeSignature(target io.Reader) ([]Block, error) + type Block struct + StrongHash []byte + WeakHash uint32 + type OpType byte + const OpBlockKeep + const OpBlockNew + const OpBlockRemove + const OpBlockUpdate + type Operation struct + BlockIndex int + Data []byte + Type OpType