Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ignoreFile (0.26 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/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)
  4. 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)
  5. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    				item.Source = info.Source
    			}
    			if err := fn(item, nil); err != nil {
    				errs = append(errs, err)
    			}
    		}
    		return utilerrors.NewAggregate(errs)
    	})
    }
    
    func ignoreFile(path string, extensions []string) bool {
    	if len(extensions) == 0 {
    		return false
    	}
    	ext := filepath.Ext(path)
    	for _, s := range extensions {
    		if s == ext {
    			return false
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modindex/read.go

    				if x, err := constraint.Parse(text); err == nil {
    					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)
  7. src/cmd/vendor/golang.org/x/telemetry/.stylelintrc.json

      "rules": {
        "declaration-property-value-allowed-list": {
          "/color/": ["/^var\\(--/", "transparent"]
        },
        "unit-disallowed-list": ["px"],
        "selector-class-pattern": "^[a-zA-Z\\-]+$"
      },
      "ignoreFiles": ["**/*.min.css"]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 287 bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy

        }
    
        def "treats '#extension' as archive"() {
            def archive = file("archive.${extension}")
            def contents = file("archiveContents").createDir()
            def ignoredFile = contents.file("ignored.txt")
            ignoredFile << "this file is ignored"
            def nonIgnoredFile = contents.file("not-ignored.txt")
            nonIgnoredFile << "this file is not ignored"
            contents.zipTo(archive)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  9. testing/soak/src/testFixtures/groovy/org/gradle/launcher/daemon/fixtures/DaemonMultiJdkIntegrationTest.groovy

    import static org.gradle.integtests.fixtures.AvailableJavaHomes.getAvailableJdk
    
    @MultiVersionTest
    class DaemonMultiJdkIntegrationTest extends DaemonIntegrationSpec {
        static def version
        @Rule IgnoreIfJdkNotFound ignoreRule = new IgnoreIfJdkNotFound()
    
        JavaInfo jdk
    
        static VersionNumber getVersionNumber() {
            VersionNumber.parse(version.toString())
        }
    
        class IgnoreIfJdkNotFound implements TestRule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top