Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ignoredFile (0.15 sec)

  1. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/GitIgnoreGeneratorTest.groovy

        }
        File gitignoreFile = tmpDir.file(".gitignore")
    
        def setup() {
            Directory target = Mock()
            RegularFile ignoreFile = Mock()
            1 * settings.target >> target
            1 * target.file('.gitignore') >> ignoreFile
            1 * ignoreFile.asFile >> gitignoreFile
        }
    
        def "generates .gitignore file"() {
            setup:
            def generator = new GitIgnoreGenerator()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:17:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/index_format.txt

    		synopsis - string offset
    		name - string offset
    		pkgName - string offset
    		ignoreFile - int32 bool // report the file in Ignored(Go|Other)Files because there was an error reading it or parsing its build constraints.
    		binaryOnly uint32 bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 13 00:22:50 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/go/internal/modindex/write.go

    		encodeFile(e, f)
    	}
    }
    
    func encodeFile(e *encoder, f *rawFile) {
    	e.String(f.error)
    	e.String(f.parseError)
    	e.String(f.synopsis)
    	e.String(f.name)
    	e.String(f.pkgName)
    	e.Bool(f.ignoreFile)
    	e.Bool(f.binaryOnly)
    	e.String(f.cgoDirectives)
    	e.String(f.goBuildConstraint)
    
    	e.Int(len(f.plusBuildConstraints))
    	for _, s := range f.plusBuildConstraints {
    		e.String(s)
    	}
    
    	e.Int(len(f.imports))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 3.7K 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/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)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.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|parser.SkipObjectResolution)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top