Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canUseIncompatible (0.15 sec)

  1. src/cmd/go/internal/modfetch/coderepo.go

    	//
    	// (If the version is +incompatible, then the go.mod file must not exist:
    	// +incompatible is not an ongoing opt-out from semantic import versioning.)
    	incompatibleOk := map[string]bool{}
    	canUseIncompatible := func(v string) bool {
    		if r.codeDir != "" || r.pathMajor != "" {
    			// A non-empty codeDir indicates a module within a subdirectory,
    			// which necessarily has a go.mod file indicating the module boundary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top