versioncomparators

package
v0.0.0-...-cf07509 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: GPL-3.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Get

func Get(name string) (types.VersionComparatorI, error)

Types

type VersionComparatorImageMagick

type VersionComparatorImageMagick struct {
}

func (*VersionComparatorImageMagick) Compare

func (self *VersionComparatorImageMagick) Compare(
	tarballbasename1, tarballbasename2 *tarballname.ParsedTarballName,
) (int, error)

func (*VersionComparatorImageMagick) RenderNumericalVersion

func (self *VersionComparatorImageMagick) RenderNumericalVersion(
	tarballbasename *tarballname.ParsedTarballName,
) (
	[]int, error,
)

func (*VersionComparatorImageMagick) Sort

func (self *VersionComparatorImageMagick) Sort(
	tarballbasenames []*tarballname.ParsedTarballName,
) error

func (*VersionComparatorImageMagick) SortStrings

func (self *VersionComparatorImageMagick) SortStrings(
	tarballbasenames_s []string,
	parser types.TarballNameParserI,
) error

type VersionComparatorKismet

type VersionComparatorKismet struct {
}

func (*VersionComparatorKismet) Compare

func (self *VersionComparatorKismet) Compare(
	tarballbasename1, tarballbasename2 *tarballname.ParsedTarballName,
) (int, error)

func (*VersionComparatorKismet) RenderNumericalVersion

func (self *VersionComparatorKismet) RenderNumericalVersion(
	tarballbasename *tarballname.ParsedTarballName,
) (
	[]int, error,
)

func (*VersionComparatorKismet) Sort

func (self *VersionComparatorKismet) Sort(
	tarballbasenames []*tarballname.ParsedTarballName,
) error

func (*VersionComparatorKismet) SortStrings

func (self *VersionComparatorKismet) SortStrings(
	tarballbasenames_s []string,
	parser types.TarballNameParserI,
) error

type VersionComparatorLynx

type VersionComparatorLynx struct {
}

func (*VersionComparatorLynx) Compare

func (self *VersionComparatorLynx) Compare(
	tarballbasename1, tarballbasename2 *tarballname.ParsedTarballName,
) (int, error)

func (*VersionComparatorLynx) RenderNumericalVersion

func (self *VersionComparatorLynx) RenderNumericalVersion(
	tarballbasename *tarballname.ParsedTarballName,
) (
	[]int, error,
)

func (*VersionComparatorLynx) Sort

func (self *VersionComparatorLynx) Sort(
	tarballbasenames []*tarballname.ParsedTarballName,
) error

func (*VersionComparatorLynx) SortStrings

func (self *VersionComparatorLynx) SortStrings(
	tarballbasenames_s []string,
	parser types.TarballNameParserI,
) error

type VersionComparatorOpenSSH

type VersionComparatorOpenSSH struct {
}

func (*VersionComparatorOpenSSH) Compare

func (self *VersionComparatorOpenSSH) Compare(
	tarballbasename1, tarballbasename2 *tarballname.ParsedTarballName,
) (int, error)

func (*VersionComparatorOpenSSH) RenderNumericalVersion

func (self *VersionComparatorOpenSSH) RenderNumericalVersion(
	tarballbasename *tarballname.ParsedTarballName,
) (
	[]int, error,
)

func (*VersionComparatorOpenSSH) Sort

func (self *VersionComparatorOpenSSH) Sort(
	tarballbasenames []*tarballname.ParsedTarballName,
) error

func (*VersionComparatorOpenSSH) SortStrings

func (self *VersionComparatorOpenSSH) SortStrings(
	tarballbasenames_s []string,
	parser types.TarballNameParserI,
) error

type VersionComparatorOpenSSL

type VersionComparatorOpenSSL struct {
}

func (*VersionComparatorOpenSSL) Compare

func (self *VersionComparatorOpenSSL) Compare(
	tarballbasename1, tarballbasename2 *tarballname.ParsedTarballName,
) (int, error)

func (*VersionComparatorOpenSSL) RenderNumericalVersion

func (self *VersionComparatorOpenSSL) RenderNumericalVersion(
	tarballbasename *tarballname.ParsedTarballName,
) (
	[]int, error,
)

func (*VersionComparatorOpenSSL) Sort

func (self *VersionComparatorOpenSSL) Sort(
	tarballbasenames []*tarballname.ParsedTarballName,
) error

func (*VersionComparatorOpenSSL) SortStrings

func (self *VersionComparatorOpenSSL) SortStrings(
	tarballbasenames_s []string,
	parser types.TarballNameParserI,
) error

type VersionComparatorStd

type VersionComparatorStd struct {
}

func (*VersionComparatorStd) Compare

func (self *VersionComparatorStd) Compare(
	tarballbasename1, tarballbasename2 *tarballname.ParsedTarballName,
) (int, error)

func (*VersionComparatorStd) RenderNumericalVersion

func (self *VersionComparatorStd) RenderNumericalVersion(
	tarballbasename *tarballname.ParsedTarballName,
) (
	[]int, error,
)

func (*VersionComparatorStd) Sort

func (self *VersionComparatorStd) Sort(
	tarballbasenames []*tarballname.ParsedTarballName,
) error

func (*VersionComparatorStd) SortStrings

func (self *VersionComparatorStd) SortStrings(
	tarballbasenames_s []string,
	parser types.TarballNameParserI,
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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