Versions in this module Expand all Collapse all v0 v0.6.0 Jun 13, 2026 Changes in this version + func Apply(update io.Reader, opts Options) error + func CommitBinary(opts Options) error + func PrepareAndCheckBinary(update io.Reader, opts Options) error + func RollbackError(err error) error + type Options struct + Checksum []byte + Hash crypto.Hash + OldSavePath string + Patcher Patcher + TargetMode os.FileMode + TargetPath string + Verifier *Verifier + func (o *Options) CheckPermissions() error + type Patcher interface + Patch func(old io.Reader, new io.Writer, patch io.Reader) error + func NewBSDiffPatcher() Patcher + type Verifier struct + func NewVerifier() *Verifier + func (v *Verifier) Load(signatureBytes []byte, passphraseBytes []byte) error + func (v *Verifier) LoadFromFile(signaturePath string, passphrase string) error + func (v *Verifier) LoadFromURL(signatureURL string, passphrase string, transport http.RoundTripper) error + func (v *Verifier) Verify(bin []byte) error