Crates.io | gorn |
lib.rs | gorn |
version | 0.1.1 |
source | src |
created_at | 2021-11-27 19:11:17.490851 |
updated_at | 2021-11-27 19:11:17.490851 |
description | Calculates blake2 hash from file or directory. |
homepage | |
repository | |
max_upload_size | |
id | 488528 |
size | 60,029 |
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
cargo install gorn
cd gorn; cargo install --path .
nix-command
and flakes
support (optional):echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
nix build; nix shell
gorn --path src