Skip to content

gosimple/hashdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hashdir

Go Reference Tests

Generate hash of all files and they paths for specified directory.

package main

import (
	"fmt"

	"github.com/gosimple/hashdir"
)

func main() {
	dirHash, err := hashdir.Make("./someDir/", "md5")
	fmt.Println(dirHash)
}

Supported hashes:

  • md5
  • sha1
  • sha256
  • sha512

Requests or bugs?

https://github.com/gosimple/hashdir/issues

Installation

go get -u github.com/gosimple/hashdir

License

The source files are distributed under the Mozilla Public License, version 2.0, unless otherwise noted. Please read the FAQ if you have further questions regarding the license.

About

Generate hash for folder structure

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages