rolling-hash-algorithm

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 1 Imported by: 0

README

Rolling Hash Algorithm

CI Docker pulls Go Report Card Quality Gate Status Maintainability Rating Reliability Rating Security Rating Coverage Release Go version License

Build Locally

make build

Usage

Create a signature file from original file:

rha signature -f original.txt -s signature.txt --chunk-size 2

Create delta from new file and signature file:

rha delta -s signature.txt -d delta.txt -n new.txt --chunk-size 2

References

https://en.wikipedia.org/wiki/Adler-32

https://en.wikipedia.org/wiki/Rolling_hash

https://en.wikipedia.org/wiki/Rsync

Development

This project requires below tools while developing:

After you installed pre-commit, simply run below command to prepare your development environment:

$ pre-commit install -c build/ci/.pre-commit-config.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL