tbdd

command module
v0.0.0-...-0e9c5be Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

README

tbdd: tarball de-duplicator

tbdd is a simple tarball de-duplicator. It unpacks a .tar.gz file and stores the data as the SHA256 of the contents so that duplicate data is only stored once. It replaces the data with a pointer to the stored data. When the tarball is requested later, it is reconstructed from the metadata and stored data.

Note that the tarball returned by tbdd might not be identical to the one stored in it due to compression levels. The contents should be identical though.

API

Save a tarball

curl --upload-file sample.tar.gz http://tbdd.local/sample.tar.gz

Fetch a tarball

curl -s http://tbdd.local/sample.tar.gz | tar xvfz -

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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