utils

package
v6.13.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sha1Checksum

type Sha1Checksum interface {
	ComputeFileSha1() ([]byte, error)
	CheckSha1(string) bool
	SetFilePath(string)
}

func NewSha1Checksum

func NewSha1Checksum(filepath string) Sha1Checksum

type Version

type Version struct {
	Revisions []int
}

func NewVersion

func NewVersion(version string) Version

func (Version) GreaterThanOrEqual

func (ver Version) GreaterThanOrEqual(target Version) bool

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