hash

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compute

func Compute(obj interface{}) (string, error)

Compute generates an unique hash/string for the object pass to it.

func ComputeHashDir added in v0.67.0

func ComputeHashDir(dirLocation, prefix string) (string, error)

computes has for the given directory, tasks the directory and files recursively "prefix" used internally to produce constant base path, actual location will be replaced with this prefix on hash calculation

Types

This section is empty.

Jump to

Keyboard shortcuts

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