dirhash

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(fsys fs.FS, options ...Option) (string, error)

Hash a filesystem. Based on the sumdb/dirhash.

Types

type Option

type Option func(o *option)

func WithSkip

func WithSkip(skips ...skipFunc) Option

Provide a skip function

Note: try to skip as high up in the tree as possible. E.g. if the source filesystem doesn't have bud, it will delete bud, even if you're skipping bud/generate.

Jump to

Keyboard shortcuts

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