- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,001 for semver (0.13 sec)
-
src/cmd/vendor/golang.org/x/mod/module/module.go
cv := semver.Canonical(v) if semver.Build(v) == "+incompatible" { cv += "+incompatible" } return cv } // Sort sorts the list by Path, breaking ties by comparing [Version] fields. // The Version fields are interpreted as semantic versions (using [semver.Compare]) // optionally followed by a tie-breaking suffix introduced by a slash character, // like in "v0.0.1/go.mod". func Sort(list []Version) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 20:17:07 UTC 2024 - 26.9K bytes - Viewed (0) -
pkg/apis/resource/structured/namedresources/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:13 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/coderepo.go
continue } if err := module.CheckPathMajor(v, r.pathMajor); err != nil { if r.codeDir == "" && r.pathMajor == "" && semver.Major(v) > "v1" { incompatible = append(incompatible, v) } continue } list = append(list, v) } semver.Sort(list) semver.Sort(incompatible) return r.appendIncompatibleVersions(ctx, tags.Origin, list, incompatible) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 38.4K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/codehost.go
// in the Tags method's Origin calculation. // We can safely ignore tags that are not look like pseudo-versions, // because ../coderepo.go's (*codeRepo).Versions ignores them too. // We can also ignore non-semver tags, but we have to include semver // tags with extra suffixes, because the pseudo-version base finder uses them. func isOriginTag(tag string) bool { // modfetch.(*codeRepo).Versions uses Canonical == tag,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 12.8K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/cache.go
// validation criteria, for example if we are saving the result of // m@master as m@pseudo-version. clean := *info info = &clean o := *info.Origin info.Origin = &o // Tags never matter if you are starting with a semver version, // as we would be when finding this cache entry. o.TagSum = "" o.TagPrefix = "" // Ref doesn't matter if you have a pseudoversion. if module.IsPseudoVersion(info.Version) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 24.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
return lineLess(li, lj) } // An exclude specification has two tokens: ModulePath and Version. // Compare module path by string order and version by semver rules. if pi, pj := li.Token[0], lj.Token[0]; pi != pj { return pi < pj } return semver.Compare(li.Token[1], lj.Token[1]) < 0 } // lineRetractLess returns whether li should be sorted before lj for lines in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
go.mod
replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.5 require ( cloud.google.com/go/compute/metadata v0.3.0 github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 github.com/Masterminds/semver/v3 v3.2.1 github.com/Masterminds/sprig/v3 v3.2.3 github.com/alecholmes/xfccparser v0.3.0 github.com/cenkalti/backoff/v4 v4.3.0 github.com/cespare/xxhash/v2 v2.3.0 github.com/cheggaaa/pb/v3 v3.1.5
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 15:32:28 UTC 2024 - 10.6K bytes - Viewed (0) -
go.mod
github.com/Microsoft/go-winio v0.6.0 github.com/Microsoft/hcsshim v0.8.25 github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 github.com/blang/semver/v4 v4.0.0 github.com/container-storage-interface/spec v1.9.0 github.com/containerd/cgroups v1.1.0 github.com/coredns/corefile-migration v1.0.21 github.com/coreos/go-oidc v2.2.1+incompatible
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 21:47:11 UTC 2024 - 11.8K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git.go
// other known remote tags for the hash. We never use // refs/dummy (it's not refs/tags/dummy) and it will be // overwritten in the next command, and that's fine. ref = hash refspec = hash + ":refs/dummy" } else { // If we do know the ref name, save the mapping locally // so that (if it is a tag) it can show up in localTags // on a future call. Also, some servers refuse to allow
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 27.4K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/go.sum
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 14:02:04 UTC 2024 - 25.3K bytes - Viewed (0)