20 unstable releases (3 breaking)

new 0.5.4 May 16, 2024
0.5.1 Mar 20, 2024
0.4.2 Dec 14, 2023
0.4.1 Nov 14, 2023

#344 in Command line utilities

Download history 8/week @ 2024-02-15 16/week @ 2024-02-22 1/week @ 2024-02-29 179/week @ 2024-03-14 53/week @ 2024-03-21 18/week @ 2024-03-28 20/week @ 2024-04-04 45/week @ 2024-05-02 195/week @ 2024-05-09

240 downloads per month

GPL-3.0-or-later

110KB
3K SLoC

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
    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
    

Dependencies

~330KB