Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for vendorVersion (0.16 sec)

  1. src/cmd/go/internal/modload/vendor.go

    				// is in the build list and is the selected version of its path.
    				// If this information is new, record it.
    				if v, ok := vendorVersion[mod.Path]; !ok || gover.ModCompare(mod.Path, v, mod.Version) < 0 {
    					vendorList = append(vendorList, mod)
    					vendorVersion[mod.Path] = mod.Version
    				}
    			}
    		}
    	})
    }
    
    // checkVendorConsistency verifies that the vendor/modules.txt file matches (if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/modfile.go

    		return rawGoModSummary(m)
    	}
    
    	if cfg.BuildMod == "vendor" {
    		summary := &modFileSummary{
    			module: module.Version{Path: m.Path},
    		}
    
    		readVendorList(VendorDir())
    		if vendorVersion[m.Path] != m.Version {
    			// This module is not vendored, so packages cannot be loaded from it and
    			// it cannot be relevant to the build.
    			return summary, nil
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
Back to top