Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for IgnoredGoFiles (0.29 sec)

  1. src/cmd/go/testdata/script/list_load_err.txt

    stdout '^good.go,scan.go,$'
    
    go list -e -f '{{range .GoFiles}}{{.}},{{end}}' ./multi
    stdout '^a.go,b.go,$'
    
    go list -e -f '{{range .GoFiles}}{{.}},{{end}}' ./constraint
    stdout '^good.go,$'
    go list -e -f '{{range .IgnoredGoFiles}}{{.}},{{end}}' ./constraint
    stdout '^constraint.go,$'
    
    [cgo] go list -e -f '{{range .XTestGoFiles}}{{.}},{{end}}' ./cgotest
    [cgo] stdout '^cgo_test.go,$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/read.go

    					if !ctxt.eval(x, allTags) {
    						shouldBuild = false
    					}
    				}
    			}
    		}
    
    		ext := nameExt(name)
    		if !shouldBuild || tf.ignoreFile() {
    			if ext == ".go" {
    				p.IgnoredGoFiles = append(p.IgnoredGoFiles, name)
    			} else if fileListForExt(p, ext) != nil {
    				p.IgnoredOtherFiles = append(p.IgnoredOtherFiles, name)
    			}
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. src/go/build/build.go

    			continue
    		}
    		if info == nil {
    			if strings.HasPrefix(name, "_") || strings.HasPrefix(name, ".") {
    				// not due to build constraints - don't report
    			} else if ext == ".go" {
    				p.IgnoredGoFiles = append(p.IgnoredGoFiles, name)
    			} else if fileListForExt(p, ext) != nil {
    				p.IgnoredOtherFiles = append(p.IgnoredOtherFiles, name)
    			}
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/pkg.go

    // even IgnoredGoFiles, because some subcommands consider them.
    // The go/build package filtered others out (like foo_wrongGOARCH.s)
    // and that's OK.
    func (p *Package) AllFiles() []string {
    	files := str.StringList(
    		p.GoFiles,
    		p.CgoFiles,
    		// no p.CompiledGoFiles, because they are from GoFiles or generated by us
    		p.IgnoredGoFiles,
    		// no p.InvalidGoFiles, because they are from GoFiles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  5. src/cmd/go/internal/list/list.go

            CgoFiles          []string   // .go source files that import "C"
            CompiledGoFiles   []string   // .go files presented to compiler (when using -compiled)
            IgnoredGoFiles    []string   // .go source files ignored due to build constraints
            IgnoredOtherFiles []string // non-.go source files ignored due to build constraints
            CFiles            []string   // .c source files
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/load.go

    	if filepath.IsAbs(dir) {
    		absDir = filepath.Clean(dir)
    	} else {
    		absDir = filepath.Join(base.Cwd(), dir)
    	}
    
    	bp, err := cfg.BuildContext.ImportDir(absDir, 0)
    	if err != nil && (bp == nil || len(bp.IgnoredGoFiles) == 0) {
    		// golang.org/issue/32917: We should resolve a relative path to a
    		// package path only if the relative path actually contains the code
    		// for that package.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/exec.go

    		if strings.HasSuffix(name, ".go") {
    			gofiles = append(gofiles, name)
    		} else {
    			nongofiles = append(nongofiles, name)
    		}
    	}
    
    	ignored := str.StringList(a.Package.IgnoredGoFiles, a.Package.IgnoredOtherFiles)
    
    	// Pass list of absolute paths to vet,
    	// so that vet's error messages will use absolute paths,
    	// so that we can reformat them relative to the directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  8. src/cmd/go/alldocs.go

    //	    CgoFiles          []string   // .go source files that import "C"
    //	    CompiledGoFiles   []string   // .go files presented to compiler (when using -compiled)
    //	    IgnoredGoFiles    []string   // .go source files ignored due to build constraints
    //	    IgnoredOtherFiles []string // non-.go source files ignored due to build constraints
    //	    CFiles            []string   // .c source files
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Package.EmbedPatterns", Field, 16},
    		{"Package.FFiles", Field, 7},
    		{"Package.GoFiles", Field, 0},
    		{"Package.Goroot", Field, 0},
    		{"Package.HFiles", Field, 0},
    		{"Package.IgnoredGoFiles", Field, 1},
    		{"Package.IgnoredOtherFiles", Field, 16},
    		{"Package.ImportComment", Field, 4},
    		{"Package.ImportPath", Field, 0},
    		{"Package.ImportPos", Field, 0},
    		{"Package.Imports", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg go/build, const AllowBinary = 2
    pkg go/build, const FindOnly = 1
    pkg go/build, type Context struct, InstallSuffix string
    pkg go/build, type Context struct, ReleaseTags []string
    pkg go/build, type Package struct, IgnoredGoFiles []string
    pkg go/build, type Package struct, SwigCXXFiles []string
    pkg go/build, type Package struct, SwigFiles []string
    pkg go/doc, const AllDecls = 1
    pkg go/doc, const AllMethods = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top