dirhash

package standard library
Version: go1.13.15 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package dirhash defines hashes over directory trees.

Index

Constants

This section is empty.

Variables

View Source
var DefaultHash = Hash1

Functions

func DirFiles

func DirFiles(dir, prefix string) ([]string, error)

func Hash1

func Hash1(files []string, open func(string) (io.ReadCloser, error)) (string, error)

func HashDir

func HashDir(dir, prefix string, hash Hash) (string, error)

func HashZip

func HashZip(zipfile string, hash Hash) (string, error)

Types

type Hash

type Hash func(files []string, open func(string) (io.ReadCloser, error)) (string, error)

Source Files

Jump to

Keyboard shortcuts

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