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
Click to show internal directories.
Click to hide internal directories.