gorn

Crates.iogorn
lib.rsgorn
version0.1.1
sourcesrc
created_at2021-11-27 19:11:17.490851
updated_at2021-11-27 19:11:17.490851
descriptionCalculates blake2 hash from file or directory.
homepage
repository
max_upload_size
id488528
size60,029
Patsakula Nikita (npatsakula)

documentation

README

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

  1. Get rust build tools from rustup.
  2. Install via:
cargo install gorn

From Source

  1. Get rust build tools from rustup.
  2. Install from sources:
cd gorn; cargo install --path .

Using NIX

  1. Add nix-command and flakes support (optional):
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
  1. Build and install:
nix build; nix shell
  1. Run:
gorn --path src
Commit count: 0

cargo fmt