localbinaryrepository

package
v0.0.0-...-1ee512b Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashedFile

type HashedFile struct {
	Name string `json:"name"`
	Hash string `json:"hash"`
}

type LocalBinaryRepository

type LocalBinaryRepository struct {
	// contains filtered or unexported fields
}

func MakeLocalBinaryRepository

func MakeLocalBinaryRepository(downloadLocation string) (*LocalBinaryRepository, error)

Constructor

func (*LocalBinaryRepository) GetBinaryHash

func (repo *LocalBinaryRepository) GetBinaryHash(fileName string) (HashedFile, error)

func (*LocalBinaryRepository) GetFile

func (repo *LocalBinaryRepository) GetFile(fileName string) (*os.File, error)

func (*LocalBinaryRepository) GetListOfBinaries

func (repo *LocalBinaryRepository) GetListOfBinaries() ([]string, error)

Jump to

Keyboard shortcuts

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