Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    					dirs = append(dirs, dir)
    					roots = append(roots, modRoot)
    				}
    			}
    		}
    
    		if HasModRoot() {
    			vendorDir := VendorDir()
    			dir, inVendorDir, _ := dirInModule(path, "", vendorDir, false)
    			if inVendorDir {
    				readVendorList(vendorDir)
    				// If vendorPkgModule does not contain an entry for path then it's probably either because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modcmd/vendor.go

    	var vdir string
    	switch {
    	case filepath.IsAbs(vendorO):
    		vdir = vendorO
    	case vendorO != "":
    		vdir = filepath.Join(base.Cwd(), vendorO)
    	default:
    		vdir = filepath.Join(modload.VendorDir())
    	}
    	if err := os.RemoveAll(vdir); err != nil {
    		base.Fatal(err)
    	}
    
    	modpkgs := make(map[module.Version][]string)
    	for _, pkg := range pkgs {
    		m := modload.PackageModule(pkg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/modfile.go

    	}
    	if gover.IsToolchain(m.Path) {
    		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