{"modulePath":"github.com/xmapst/taskflow","version":"v0.0.0-20261127030116-2fa33bcfeb3e","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package binarydist\n\nPackage binarydist implements binary diff and patch as described on [http://www.daemonology.net/bsdiff/](http://www.daemonology.net/bsdiff/). It reads and writes files compatible with the tools there.\n\n## Variables\n\n```go\nvar ErrCorrupt = errors.New(\"corrupt patch\")\n```\n\n## Functions\n\n```go\nfunc Diff(old, new io.Reader, patch io.Writer) error\n```\nDiff computes the difference between old and new, according to the bsdiff algorithm, and writes the result to patch.\n\n```go\nfunc Patch(old io.Reader, new io.Writer, patch io.Reader) error\n```\nPatch applies patch to old, according to the bspatch algorithm, and writes the result to new.\n\n","path":"github.com/xmapst/taskflow/pkg/binarydist","name":"binarydist","synopsis":"Package binarydist implements binary diff and patch as described on http://www.daemonology.net/bsdiff/.","isRedistributable":true}
