├── .github └── workflows │ └── test.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE.txt ├── README.md ├── bsdiff ├── .gitignore ├── LICENSE ├── Makefile-bsdiff.am ├── Makefile.am ├── README.md ├── autogen.sh ├── bsdiff.c ├── bsdiff.h ├── bspatch.c ├── bspatch.h └── configure.ac ├── cmd ├── go-bsdiff │ └── main.go └── go-bspatch │ └── main.go ├── diff └── diff.go ├── doc.go ├── go.mod ├── go.sum ├── internal ├── magic.go ├── native │ ├── cgo.c │ ├── cgo.h │ ├── cgo_read.go │ ├── cgo_write.go │ ├── diff.go │ ├── ext_bsdiff.c │ ├── native.go │ ├── patch.go │ ├── table_reader.go │ └── table_writer.go └── testing │ └── fixtures │ ├── fixtures.go │ ├── new.txt │ ├── old.txt │ └── old_to_new_patch.bin ├── main.go ├── patch └── patch.go ├── raw ├── diff │ └── diff.go ├── doc.go └── patch │ ├── patch.go │ └── patch_test.go ├── renovate.json └── tools.go /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/README.md -------------------------------------------------------------------------------- /bsdiff/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/bsdiff/.gitignore -------------------------------------------------------------------------------- /bsdiff/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/bsdiff/LICENSE -------------------------------------------------------------------------------- /bsdiff/Makefile-bsdiff.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/bsdiff/Makefile-bsdiff.am -------------------------------------------------------------------------------- /bsdiff/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/bsdiff/Makefile.am -------------------------------------------------------------------------------- /bsdiff/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/bsdiff/README.md -------------------------------------------------------------------------------- /bsdiff/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | touch AUTHORS NEWS README ChangeLog 4 | cp LICENSE COPYING 5 | 6 | autoreconf -fis 7 | -------------------------------------------------------------------------------- /bsdiff/bsdiff.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/bsdiff/bsdiff.c -------------------------------------------------------------------------------- /bsdiff/bsdiff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/bsdiff/bsdiff.h -------------------------------------------------------------------------------- /bsdiff/bspatch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/bsdiff/bspatch.c -------------------------------------------------------------------------------- /bsdiff/bspatch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/bsdiff/bspatch.h -------------------------------------------------------------------------------- /bsdiff/configure.ac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/bsdiff/configure.ac -------------------------------------------------------------------------------- /cmd/go-bsdiff/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/cmd/go-bsdiff/main.go -------------------------------------------------------------------------------- /cmd/go-bspatch/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/cmd/go-bspatch/main.go -------------------------------------------------------------------------------- /diff/diff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/diff/diff.go -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/doc.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/go.sum -------------------------------------------------------------------------------- /internal/magic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/magic.go -------------------------------------------------------------------------------- /internal/native/cgo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/native/cgo.c -------------------------------------------------------------------------------- /internal/native/cgo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/native/cgo.h -------------------------------------------------------------------------------- /internal/native/cgo_read.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/native/cgo_read.go -------------------------------------------------------------------------------- /internal/native/cgo_write.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/native/cgo_write.go -------------------------------------------------------------------------------- /internal/native/diff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/native/diff.go -------------------------------------------------------------------------------- /internal/native/ext_bsdiff.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/native/ext_bsdiff.c -------------------------------------------------------------------------------- /internal/native/native.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/native/native.go -------------------------------------------------------------------------------- /internal/native/patch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/native/patch.go -------------------------------------------------------------------------------- /internal/native/table_reader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/native/table_reader.go -------------------------------------------------------------------------------- /internal/native/table_writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/native/table_writer.go -------------------------------------------------------------------------------- /internal/testing/fixtures/fixtures.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/testing/fixtures/fixtures.go -------------------------------------------------------------------------------- /internal/testing/fixtures/new.txt: -------------------------------------------------------------------------------- 1 | Lorem 2 | Ipsum 3 | Hello 4 | Set 5 | Dolem 6 | -------------------------------------------------------------------------------- /internal/testing/fixtures/old.txt: -------------------------------------------------------------------------------- 1 | Lorem 2 | Ipsum 3 | Set 4 | Dolem 5 | -------------------------------------------------------------------------------- /internal/testing/fixtures/old_to_new_patch.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/internal/testing/fixtures/old_to_new_patch.bin -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/main.go -------------------------------------------------------------------------------- /patch/patch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/patch/patch.go -------------------------------------------------------------------------------- /raw/diff/diff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/raw/diff/diff.go -------------------------------------------------------------------------------- /raw/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/raw/doc.go -------------------------------------------------------------------------------- /raw/patch/patch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/raw/patch/patch.go -------------------------------------------------------------------------------- /raw/patch/patch_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/raw/patch/patch_test.go -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/renovate.json -------------------------------------------------------------------------------- /tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icedream/go-bsdiff/HEAD/tools.go --------------------------------------------------------------------------------