Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for packageFiles2 (0.17 sec)

  1. src/internal/testenv/testenv.go

    // dstPath containing entries for the file mappings in packageFiles, as well
    // as for the packages transitively imported by the package(s) in pkgs.
    //
    // pkgs may include any package pattern that is valid to pass to 'go list',
    // so it may also be a list of Go source files all in the same directory.
    func WriteImportcfg(t testing.TB, dstPath string, packageFiles map[string]string, pkgs ...string) {
    	t.Helper()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/gcimporter_test.go

    	// filename must end with ".go"
    	basename, ok := strings.CutSuffix(filepath.Base(filename), ".go")
    	if !ok {
    		t.Fatalf("filename doesn't end in .go: %s", filename)
    	}
    	objname := basename + ".o"
    	outname := filepath.Join(outdirname, objname)
    
    	importcfgfile := os.DevNull
    	if len(packageFiles) > 0 || len(pkgImports) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top