blockset

Crates.ioblockset
lib.rsblockset
version0.7.0
sourcesrc
created_at2023-09-26 17:01:34.22542
updated_at2024-08-14 21:57:06.431842
descriptionBLOCKSET command line tool
homepage
repositoryhttps://github.com/datablockset/blockset
max_upload_size
id983890
size3,698
Sergey Shandar (sergey-shandar)

documentation

README

BLOCKSET

The blockset application is a command line program that can store and retrieve data blocks using a content-dependent tree (CDT) hash function as a universal address of the blocks.

Commands

  • content hash validation:
    blockset validate 3v1d4j94scaseqgcyzr0ha5dxa9rx6ppnfbndck971ack
    
  • calculate a content hash of a file:
    blockset hash ./README.md
    
  • add content of a file or a directory to the local storage cdt0/:
    >blockset add ./README.md
    ngd7zembwj6f2tsh4gyxrcyx26h221e3f2wdgfbtq87nd
    >blockset add ./src/ --to-posix-eol
    
  • get a file or a directory by a content hash
    blockset get ngd7zembwj6f2tsh4gyxrcyx26h221e3f2wdgfbtq87nd ./ls.json
    blockset get ngd7zembwj6f2tsh4gyxrcyx26h221e3f2wdgfbtq87nd ./dir/
    
  • information about the repository
    blockset info
    
Commit count: 135

cargo fmt