Documentation ¶
Index ¶
- func AppendToIndex(index string, source *Source, author *Author, pkg *Package)
- func CountIndex(indexes map[string]map[string]*Source) (int, int, int, int)
- func HasJSONXS() bool
- func HasParseLocalDistribution() bool
- func HasPerl() (bool, string)
- func LoadIndex(index string) map[string]*Source
- func RemoveModule(index string, source *Source, author *Author, pkg *Package)
- func SaveIndex(index string, indexes map[string]*Source)
- func VersionFromString(version string) float64
- type AppendSliceValue
- type Author
- type Package
- type PerlDeps
- type PerlPackage
- type Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasParseLocalDistribution ¶
func HasParseLocalDistribution() bool
func VersionFromString ¶
An attempt at turning random version numbers into comparable floats!
Types ¶
type AppendSliceValue ¶
type AppendSliceValue []string
AppendSliceValue implements the flag.Value interface and allows multiple calls to the same variable to append a list.
func (*AppendSliceValue) Set ¶
func (s *AppendSliceValue) Set(value string) error
func (*AppendSliceValue) String ¶
func (s *AppendSliceValue) String() string
type Package ¶
type Package struct { Author *Author Name string URL string Provides map[string]*PerlPackage // contains filtered or unexported fields }
func (*Package) VirtualURL ¶
type PerlDeps ¶
type PerlDeps struct { HasPerl bool PerlVersion string HasParseLocalDistribution bool HasJSONXS bool Ok bool }
func TestPerlDeps ¶
func TestPerlDeps() *PerlDeps
type PerlPackage ¶
Click to show internal directories.
Click to hide internal directories.