Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 42 of 42 for rootNode (0.13 sec)

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

    }
    
    func RunVendor(ctx context.Context, vendorE bool, vendorO string, args []string) {
    	if len(args) != 0 {
    		base.Fatalf("go: 'go mod vendor' accepts no arguments")
    	}
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NeedRoot
    
    	loadOpts := modload.PackageOpts{
    		Tags:                     imports.AnyTags(),
    		VendorModulesInGOROOTSrc: true,
    		ResolveMissingImports:    true,
    		UseVendorAll:             true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/build.go

    // in the current directory or parent directories.
    //
    // See golang.org/issue/40276 for details and rationale.
    func installOutsideModule(ctx context.Context, args []string) {
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NoRoot
    	modload.AllowMissingModuleImports()
    	modload.Init()
    	BuildInit()
    
    	// Load packages. Ignore non-main packages.
    	// Print a warning if an argument contains "..." and matches no main packages.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top