1 unstable release
0.1.1 | Nov 27, 2021 |
---|
#14 in #blake2
12KB
71 lines
Gorn - Multithreaded File Hash Calculator
Usage
You can calculate hash from single file:
gorn --path src/main.rs
Or you can calculate it for directory:
gorn --path ./target
If you want to inspect hashes for all files in
directory you can use --print_tree
flag:
gorn --path ./target --print_tree
Install
From crates.io
- Get rust build tools from rustup.
- Install via:
cargo install gorn
From Source
- Get rust build tools from rustup.
- Install from sources:
cd gorn; cargo install --path .
Using NIX
- Add
nix-command
andflakes
support (optional):
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- Build and install:
nix build; nix shell
- Run:
gorn --path src
Dependencies
~3–10MB
~99K SLoC