Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ignoredFile (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/kubeadm/app/util/patches/patches_test.go

    				t.Fatalf("expected patch files:\n%+v\ngot:\n%+v", tc.expectedPatchFiles, patchFiles)
    			}
    			if !reflect.DeepEqual(tc.expectedIgnoredFiles, ignoredFiles) {
    				t.Fatalf("expected ignored files:\n%+v\ngot:\n%+v", tc.expectedIgnoredFiles, ignoredFiles)
    			}
    			if !reflect.DeepEqual(tc.expectedPatchSets, patchSets) {
    				t.Fatalf("expected patch sets:\n%+v\ngot:\n%+v", tc.expectedPatchSets, patchSets)
    			}
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 14:24:11 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    reporting diagnostics and other information back to the driver.
    
    	type Pass struct {
    		Fset         *token.FileSet
    		Files        []*ast.File
    		OtherFiles   []string
    		IgnoredFiles []string
    		Pkg          *types.Package
    		TypesInfo    *types.Info
    		ResultOf     map[*Analyzer]interface{}
    		Report       func(Diagnostic)
    		...
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top