gohash

package
v0.0.0-...-133488a Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileDirHash

func FileDirHash(path string, dependency string) error

func IsSemanticVersion

func IsSemanticVersion(version string) (bool, error)

Types

type H1

type H1 struct {
	Path          string
	Version       string
	DirectoryHash string
	GoModHash     string
	Directory     string
}

func GitDirHash

func GitDirHash(repo *git.Repository, hash plumbing.Hash, prefix string, versionOverride *string) (*H1, error)

func GitDirHashAll

func GitDirHashAll(repo *git.Repository, hash plumbing.Hash) ([]*H1, error)

func GitDirHashAllVersion

func GitDirHashAllVersion(repo *git.Repository, hash plumbing.Hash, versionOverride *string) ([]*H1, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳