Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ignoredFile (0.59 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

                    dependencies {
                        ${dependencies.collect { "implementation ${it}" }.join('\n')}
                    }
                """
            }
    
            def ignoredFile = file('foo.txt') << 'should not throw an error during compile classpath snapshotting'
            file('bar.txt') << 'should be ignored, too'
            file('src/main/java/Hello.java') << 'public class Hello {}'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/patches/patches.go

    	// Get the files in the path.
    	patchSets, patchFiles, ignoredFiles, err := getPatchSetsFromPath(path, knownTargets, output)
    	if err != nil {
    		return nil, err
    	}
    
    	if len(patchFiles) > 0 {
    		fmt.Fprintf(output, "[patches] Found the following patch files: %v\n", patchFiles)
    	}
    	if len(ignoredFiles) > 0 {
    		fmt.Fprintf(output, "[patches] Ignored the following files: %v\n", ignoredFiles)
    	}
    
    	pm := &PatchManager{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    			}
    
    			pass := &analysis.Pass{
    				Analyzer:          a,
    				Fset:              fset,
    				Files:             files,
    				OtherFiles:        cfg.NonGoFiles,
    				IgnoredFiles:      cfg.IgnoredFiles,
    				Pkg:               pkg,
    				TypesInfo:         info,
    				TypesSizes:        tc.Sizes,
    				TypeErrors:        nil, // unitchecker doesn't RunDespiteErrors
    				ResultOf:          inputs,
    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/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    	Fset         *token.FileSet // file position information; Run may add new files
    	Files        []*ast.File    // the abstract syntax tree of each file
    	OtherFiles   []string       // names of non-Go files of this package
    	IgnoredFiles []string       // names of ignored source files in this package
    	Pkg          *types.Package // type information about the package
    	TypesInfo    *types.Info    // type information about the syntax trees
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. cmd/import-boss/main_test.go

    		input: &packages.Package{
    			PkgPath:      "example.com/foo/bar/qux",
    			GoFiles:      []string{"/src/prj/file.go"},
    			IgnoredFiles: []string{"/otherdir/file.go"},
    		},
    		expect: filepath.Clean("/src/prj"),
    	}, {
    		input: &packages.Package{
    			PkgPath:      "example.com/foo/bar/qux",
    			IgnoredFiles: []string{"/src/prj/file.go"},
    		},
    		expect: filepath.Clean("/src/prj"),
    	}, {
    		input: &packages.Package{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modindex/scan.go

    	error      string
    	parseError string
    
    	name                 string
    	synopsis             string // doc.Synopsis of package comment... Compute synopsis on all of these?
    	pkgName              string
    	ignoreFile           bool   // starts with _ or . or should otherwise always be ignored
    	binaryOnly           bool   // cannot be rebuilt from source (has //go:binary-only-package comment)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    	for _, f := range pass.Files {
    		checkGoFile(pass, f)
    	}
    	for _, name := range pass.OtherFiles {
    		if err := checkOtherFile(pass, name); err != nil {
    			return nil, err
    		}
    	}
    	for _, name := range pass.IgnoredFiles {
    		if strings.HasSuffix(name, ".go") {
    			f, err := parser.ParseFile(pass.Fset, name, nil, parser.ParseComments)
    			if err != nil {
    				// Not valid Go source code - not our job to diagnose, so ignore.
    				return nil, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    	if slicesContains(pass.OtherFiles, filename) ||
    		slicesContains(pass.IgnoredFiles, filename) {
    		return nil
    	}
    	for _, f := range pass.Files {
    		// TODO(adonovan): use go1.20 f.FileStart
    		if pass.Fset.File(f.Pos()).Name() == filename {
    			return nil
    		}
    	}
    	return fmt.Errorf("Pass.ReadFile: %s is not among OtherFiles, IgnoredFiles, or names of Files", filename)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    	for _, f := range pass.Files {
    		checkGoFile(pass, f)
    	}
    	for _, name := range pass.OtherFiles {
    		if err := checkOtherFile(pass, name); err != nil {
    			return nil, err
    		}
    	}
    	for _, name := range pass.IgnoredFiles {
    		if strings.HasSuffix(name, ".go") {
    			f, err := parser.ParseFile(pass.Fset, name, nil, parser.ParseComments)
    			if err != nil {
    				// Not valid Go source code - not our job to diagnose, so ignore.
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. cmd/import-boss/main.go

    func packageDir(pkg *packages.Package) string {
    	if len(pkg.GoFiles) > 0 {
    		return filepath.Dir(pkg.GoFiles[0])
    	}
    	if len(pkg.IgnoredFiles) > 0 {
    		return filepath.Dir(pkg.IgnoredFiles[0])
    	}
    	return ""
    }
    
    type FileFormat struct {
    	Rules        []Rule
    	InverseRules []Rule
    
    	path string
    }
    
    // A single import restriction rule.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top