- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for processFile (0.15 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DuplicateHandlingCopyActionExecutorTest.groovy
files 'path/file1.txt', 'path/file2.txt', 'path/file1.txt' actions {} when: visit() then: 2 * delegateAction.processFile({ it.relativePath.pathString == '/root/path/file1.txt' }) 1 * delegateAction.processFile({ it.relativePath.pathString == '/root/path/file2.txt' }) } def duplicatesExcludedByPerFileConfiguration() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 02 14:30:00 UTC 2024 - 7.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/NormalizingCopyActionDecoratorTest.groovy
action.processFile(dir1) action.processFile(file1) action.processFile(dir2) action.processFile(file2) } }) then: 1 * delegateAction.processFile({ it.path == 'a'}) 1 * delegateAction.processFile({ it.path == 'a/b'}) 1 * delegateAction.processFile(dir1) 1 * delegateAction.processFile(file1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 22 14:38:33 UTC 2024 - 4.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopyFileVisitorImplTest.groovy
then: 1 * instantiator.newInstance(DefaultFileCopyDetails.class, dirDetails, specResolver, objectFactory, fileSystem) >> defaultFileCopyDetails 1 * action.processFile(defaultFileCopyDetails) 0 * defaultFileCopyDetails.excluded } def "visit file if no action are defined in copy spec"() { given: FileVisitDetails dirDetails = Mock()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jul 20 13:25:37 UTC 2021 - 4.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/CopyFileVisitorImpl.java
} @Override public void visitFile(FileVisitDetails fileDetails) { processFile(fileDetails); } private void processDir(FileVisitDetails visitDetails) { DefaultFileCopyDetails details = createDefaultFileCopyDetails(visitDetails); action.processFile(details); } private void processFile(FileVisitDetails visitDetails) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jul 20 13:25:37 UTC 2021 - 3K bytes - Viewed (0) -
src/cmd/fix/main.go
} } if flag.NArg() == 0 { if err := processFile("standard input", true); err != nil { report(err) } os.Exit(exitCode) } for i := 0; i < flag.NArg(); i++ { path := flag.Arg(i) switch dir, err := os.Stat(path); { case err != nil: report(err) case dir.IsDir(): walkDir(path) default: if err := processFile(path, false); err != nil { report(err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopyActionExecuterTest.groovy
TestFiles.documentationRegistry()) when: executer.execute(copySpec, copyAction) then: 1 * action.processFile({ it.relativePath.pathString == "a" }) 0 * action.processFile(_) } Closure path(path) { return { println it.relativePath.pathString; it.relativePath.pathString == path } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 28 12:39:32 UTC 2023 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/CopyActionProcessingStreamAction.java
* limitations under the License. */ package org.gradle.api.internal.file; import org.gradle.api.internal.file.copy.FileCopyDetailsInternal; public interface CopyActionProcessingStreamAction { void processFile(FileCopyDetailsInternal details);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 02 16:56:13 UTC 2016 - 834 bytes - Viewed (0) -
hack/conformance/check_conformance_test_requirements.go
return errors.New("Missed the end of previous conformance test. There might be a bug in this script.") } if checkFailed { return errors.New("We need to fix the above errors.") } return nil } func processFile(e2ePath string) error { regGoFile := regexp.MustCompile(`.*\.go`) files, err := os.ReadDir(e2ePath) if err != nil { return fmt.Errorf("Failed to read dir %s: %w", e2ePath, err) } for _, file := range files {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 29 06:30:57 UTC 2023 - 4.1K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/file/copy/CopyActionExecuterUtil.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 12:41:51 UTC 2019 - 1.4K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
warningsByFilename[path] = warning } processDirectory := func(directory string, processFile func(string)) error { err := filepath.Walk(directory, func(path string, info os.FileInfo, err error) error { if err != nil { return err } if info.IsDir() { return nil } if isFileFormatValid(path) { processFile(path) } return nil }) return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 22 17:58:52 UTC 2024 - 15K bytes - Viewed (0)