Registry / utility / restic-chunker

restic-chunker

JSON →
library0.4.0gogounverified

Implements Content Defined Chunking (CDC) using a rolling Rabin Checksum for data deduplication.

go get github.com/restic/chunker
INSTALL
IMPORT
SIG · RESTIC-CHUNKER
R
restic-chunker
utilitygov0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

chunker
github.com/restic/chunker

Chunks data using Rabin fingerprinting

package main import ( "bytes" "fmt" "github.com/restic/chunker" ) func main() { data := bytes.NewReader([]byte("example data")) ch := chunker.New(data, chunker.Pol(0x3DA3358B4DC173)) for { chunk, err := ch.Next() if err != nil { break } fmt.Println(len(chunk.Data)) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
restic-chunker — go get restic-chunker · libregistry