narinfo

package
v0.0.0-...-001af8f Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NarInfo

type NarInfo struct {
	StorePath   string
	URL         string
	Compression string
	FileHash    string
	FileSize    int64
	NarHash     string
	NarSize     int64
	References  []string
	Deriver     string
	System      string
	Signatures  []string
	CA          string
}

func (*NarInfo) AddSignature

func (ni *NarInfo) AddSignature(privateKeyStr string) error

func (NarInfo) ContentType

func (ni NarInfo) ContentType() string

ContentType returns the mime content type of the object

func (*NarInfo) Fingerprint

func (ni *NarInfo) Fingerprint() ([]byte, error)

func (NarInfo) String

func (ni NarInfo) String() string

Jump to

Keyboard shortcuts

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