Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for vendorPkg (0.21 sec)

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

    		case goVersion != "":
    			fmt.Fprintf(w, "## go %s\n", goVersion)
    		}
    
    		pkgs := modpkgs[m]
    		sort.Strings(pkgs)
    		for _, pkg := range pkgs {
    			fmt.Fprintf(w, "%s\n", pkg)
    			vendorPkg(vdir, pkg)
    		}
    	}
    
    	if includeAllReplacements {
    		// Record unused and wildcard replacements at the end of the modules.txt file:
    		// without access to the complete build list, the consumer of the vendor
    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. cmd/dependencyverifier/dependencyverifier.go

    		needUpdate = true
    	}
    	if len(addedVendored) > 0 {
    		log.Printf("Unwanted modules are newly vendored: %q", addedVendored)
    		log.Printf("!!! Avoid updates that increase vendoring of unwanted dependencies\n")
    		needUpdate = true
    	}
    
    	if needUpdate {
    		os.Exit(1)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 07 01:48:30 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    				return nil, fmt.Errorf("no package file for %q", path)
    			}
    			return os.Open(file)
    		})
    		return importerFunc(func(importPath string) (*types.Package, error) {
    			path, ok := cfg.ImportMap[importPath] // resolve vendoring, etc
    			if !ok {
    				return nil, fmt.Errorf("can't resolve import %q", path)
    			}
    			return compilerImporter.Import(path)
    		})
    	}
    
    	exportTypes = func(*Config, *token.FileSet, *types.Package) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/go/types/api.go

    	Import(path string) (*Package, error)
    }
    
    // ImportMode is reserved for future use.
    type ImportMode int
    
    // An ImporterFrom resolves import paths to packages; it
    // supports vendoring per https://golang.org/s/go15vendor.
    // Use go/importer to obtain an ImporterFrom implementation.
    type ImporterFrom interface {
    	// Importer is present for backward-compatibility. Calling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api.go

    	Import(path string) (*Package, error)
    }
    
    // ImportMode is reserved for future use.
    type ImportMode int
    
    // An ImporterFrom resolves import paths to packages; it
    // supports vendoring per https://golang.org/s/go15vendor.
    // Use go/importer to obtain an ImporterFrom implementation.
    type ImporterFrom interface {
    	// Importer is present for backward-compatibility. Calling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/list/list.go

    so that the ImportPath uniquely identifies a given copy of a package.
    The Imports, Deps, TestImports, and XTestImports lists also contain these
    expanded import paths. See golang.org/s/go15vendor for more about vendoring.
    
    The error information, if any, is
    
        type PackageError struct {
            ImportStack   []string // shortest path from package named on command line to this one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/gcimporter_test.go

    	// wrong package as complete. By using an "unclean" package path, the
    	// file and package path are different, exposing the problem if present.
    	// The same issue occurs with vendoring.)
    	imports := make(map[string]*types.Package)
    	fset := token.NewFileSet()
    	for i := 0; i < 3; i++ {
    		if _, err := Import(fset, imports, "./././testdata/p", tmpdir, nil); err != nil {
    			t.Fatal(err)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. src/cmd/go/internal/help/helpdoc.go

    Note, however, that a directory named vendor that itself contains code
    is not a vendored package: cmd/vendor would be a command named vendor,
    and the pattern cmd/... matches it.
    See golang.org/s/go15vendor for more about vendoring.
    
    An import path can also name a package to be downloaded from
    a remote repository. Run 'go help importpath' for details.
    
    Every package in a program must have a unique import path.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/modfile.go

    	modfile.VersionInterval
    	Rationale string
    }
    
    // goModSummary returns a summary of the go.mod file for module m,
    // taking into account any replacements for m, exclusions of its dependencies,
    // and/or vendoring.
    //
    // m must be a version in the module graph, reachable from the Target module.
    // In readonly mode, the go.sum file must contain an entry for m's go.mod file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/load/test.go

    		// all line up (but RawImports can be shorter than the others).
    		// That is, for 0 ≤ i < len(RawImports),
    		// RawImports[i] is the import string in the program text, and
    		// Imports[i] is the expanded import string (vendoring applied or relative path expanded away).
    		// Any implicitly added imports appear in Imports and Internal.Imports
    		// but not RawImports (because they were not in the source code).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top