Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for loadPkgs (0.19 sec)

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

    	// for imported packages (as in 'go mod tidy' in Go 1.17–1.20).
    	skipImportModFiles bool
    
    	work *par.Queue
    
    	// reset on each iteration
    	roots    []*loadPkg
    	pkgCache *par.Cache[string, *loadPkg]
    	pkgs     []*loadPkg // transitive closure of loaded packages and tests; populated in buildStacks
    }
    
    // loaderParams configure the packages loaded by, and the properties reported
    // by, a loader instance.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/buildlist.go

    func tidyRoots(ctx context.Context, rs *Requirements, pkgs []*loadPkg) (*Requirements, error) {
    	mainModule := MainModules.mustGetSingleMainModule()
    	if rs.pruning == unpruned {
    		return tidyUnprunedRoots(ctx, mainModule, rs, pkgs)
    	}
    	return tidyPrunedRoots(ctx, mainModule, rs, pkgs)
    }
    
    func updateRoots(ctx context.Context, direct map[string]bool, rs *Requirements, pkgs []*loadPkg, add []module.Version, rootsImported bool) (*Requirements, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top