types

package
v12.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HashAlgoSHA1   = "sha1"
	HashAlgoSHA256 = "sha256"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DepEntry

type DepEntry struct {
	Name   string
	Size   int64
	Hashes []DepHash
}

type DepHash

type DepHash struct {
	Algo HashAlgo
	// byte array formatted with `%x` (lower-case hex)
	Value string
}

type DepSpec

type DepSpec struct {
	Entries []DepEntry
	Sources []string
}

type DepSpecMap

type DepSpecMap map[string]DepSpec

type HashAlgo

type HashAlgo string

Jump to

Keyboard shortcuts

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