license

package
v2.0.24+incompatible Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirReader

type DirReader interface {
	Read(string) (*License, error)
}

type DirReaderImpl

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

func NewDirReaderImpl

func NewDirReaderImpl(archiveFactory ArchiveFunc, fs boshsys.FileSystem) DirReaderImpl

func (DirReaderImpl) Read

func (r DirReaderImpl) Read(path string) (*License, error)

type License

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

func NewLicense

func NewLicense(resource Resource) *License

func (*License) ArchivePath

func (l *License) ArchivePath() string

func (*License) ArchiveSHA1

func (l *License) ArchiveSHA1() string

func (*License) Build

func (l *License) Build(dev, final ArchiveIndex) error

func (*License) Finalize

func (l *License) Finalize(final ArchiveIndex) error

func (License) Fingerprint

func (l License) Fingerprint() string

func (License) Name

func (l License) Name() string

func (*License) RehashWithCalculator

func (l *License) RehashWithCalculator(calculator crypto.DigestCalculator, archiveFileReader crypto2.ArchiveDigestFilePathReader) (*License, error)

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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