Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newRequirements (0.15 sec)

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

    }
    
    // newRequirements returns a new requirement set with the given root modules.
    // The dependencies of the roots will be loaded lazily at the first call to the
    // Graph method.
    //
    // The rootModules slice must be sorted according to gover.ModSort.
    // The caller must not modify the rootModules slice or direct map after passing
    // them to newRequirements.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/init.go

    			roots = []module.Version{
    				{Path: "go", Version: goVersion},
    				{Path: "toolchain", Version: gover.LocalToolchain()},
    			}
    		}
    		rawGoVersion.Store(mainModule, goVersion)
    		requirements = newRequirements(pruning, roots, direct)
    		if cfg.BuildMod == "vendor" {
    			// For issue 56536: Some users may have GOFLAGS=-mod=vendor set.
    			// Make sure it behaves as though the fake module is vendored
    			// with no dependencies.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/load.go

    			// version higher than the go.mod version adds nothing.
    			compatVersion = goVersion
    		}
    		if compatPruning := pruningForGoVersion(compatVersion); compatPruning != ld.requirements.pruning {
    			compatRS := newRequirements(compatPruning, ld.requirements.rootModules, ld.requirements.direct)
    			ld.checkTidyCompatibility(ctx, compatRS, compatVersion)
    
    			for m := range keepSums(ctx, ld, compatRS, loadedZipSumsOnly) {
    				keep[m] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top