Go Bsdp

An binary diff&patch library based on bsdiff algorithm(v4.3) for Go
Alternatives To Go Bsdp
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Marisa Trie367
a year ago19otherC++
MARISA: Matching Algorithm with Recursively Implemented StorAge
Fre97
7 months ago1mitRust
Command line frecency tracking
Thcrypt49
10 months ago2mitC++
C++ console application that features unique (at least I think so) symmetric key based file encryption algorithm.
Crc27
16 days ago2bsd-2-clausePython
Calculate and verify predifined & custom CRC's
Grosse2009 Intrinsic Images18
8 years agoPython
Code from the MIT Intrinsic Images Dataset [1]; Including command line tool for Retinex algorithm.
Polytri17
5 years agounlicenseC++
🔺 Fast and simple polygon triangulation library
Raisin16
2 years ago3mitGo
A simple lightweight set of implementations and bindings for compression algorithms written in Go.
Quickfind14
a year agomitC++
A simple and fast tool for finding stuff
Curvefit8
6 years agoC
A simple command line tool for nonlinear regression analysis using the Levenberg-Marquardt algorithm
Objectivealgorithms6
12 years agoObjective-C
Various algorithms implemented in Objective-C.
Alternatives To Go Bsdp
Select To Compare


Alternative Project Comparisons
Readme

go-bsdp

An binary diff&patch library based on bsdiff algorithm(v4.3) for Go

Installation

go get -v github.com/tsyeyuanfeng/go-bsdp/...

API

package main

import (
    "os"
    "github.com/tsyeyuanfeng/go-bsdp/bsdp"
)

const (
    oldFilePath = "your old file path"
    newFilePath = "your new file path"
    patchFilePath = "your patch file path"
)

func main() {
    // Generate patch
    bsdp.Diff(oldFilePath, newFilePath, patchFilePath)

    // Apply patch
    bsdp.patch(oldFilePath, newFilePath, patchFilePath)
}

Command line tool

# Generate patch
go-bsdp diff "old file" "new file" "patch file"

# Apply patch
go-bsdp patch "old file" "new file" "patch file"
Popular Algorithms Projects
Popular Command Line Tool Projects
Popular Computer Science Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C
Go
Algorithms
Command Line Tool
Diff