Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 671 for semver (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. docs/changelogs/changelog_4x.md

     [public_suffix]: https://publicsuffix.org/
     [rfc_2045]: https://tools.ietf.org/html/rfc2045
     [rfc_7231_647]: https://tools.ietf.org/html/rfc7231#section-6.4.7
     [rfc_7692]: https://tools.ietf.org/html/rfc7692
     [semver]: https://semver.org/
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/workcmd/edit.go

    		}
    	})
    }
    
    // allowedVersionArg returns whether a token may be used as a version in go.mod.
    // We don't call modfile.CheckPathVersion, because that insists on versions
    // being in semver form, but here we want to allow versions like "master" or
    // "1234abcdef", which the go command will resolve the next time it runs (or
    // during -fix).  Even so, we need to make sure the version is a valid token.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top