-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.
Milestone
Description
These functions in modfetch
are used to handle pseudo-versions in the Go command. They're not tied to anything else in the go
command and could be moved out into x/mod/module
without much trouble.
func IsPseudoVersion(v string) bool
func IsZeroPseudoVersion(v string) bool
func PseudoVersion(major, older string, t time.Time, rev string) string
func PseudoVersionBase(v string) (string, error)
func PseudoVersionRev(v string) (rev string, err error)
func PseudoVersionTime(v string) (time.Time, error)
func ZeroPseudoVersion(major string) string
We could move SortVersions
, too, while we're at it.
bcmills, myitcv, mvdan, icholy, dmitshur and 1 moremvdan and dmitshur
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.