dirhasher

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

README

dirhasher

Command-line interface to Go's dirhash module

dirhasher computes a hash of a directory (or a ZIP archive) using go's built-in dirhash module and prints it to stdout.

When computing the hash of a directory, the prefix argument passed to dirhash.HashDir is always "".

Installation
go install github.com/arpio/dirhasher@latest
Usage

Use it on a ZIP archive:

dirhasher my-archive.zip

Or on a directory:

dirhasher /tmp/some-directory 

Package documentation is available at godoc.

See Also

https://pkg.go.dev/golang.org/x/mod/sumdb/dirhash

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL