- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 62 for visitFiles (0.22 sec)
-
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileTreeTest.groovy
visitor.accept(this) } FileTree visit(FileVisitor visitor) { contents.each { FileVisitDetails details -> visitor.visitFile(details) } this } } static class FilteredTestFileTree extends TestFileTree { PatternFilterable patterns FilteredTestFileTree() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterAsDirectoryWalkerTest.groovy
def fileTree = new DirectoryFileTree(rootDir, new PatternSet(), TestFiles.fileSystem(), false) def visited = [] def visitClosure = { visited << it } def fileVisitor = [visitFile: visitClosure, visitDir: visitClosure] as FileVisitor fileTree.visit(fileVisitor) visited } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/ReproducibleDirectoryWalker.java
} } catch (IOException e) { exception = e; } return pathVisitor.postVisitDirectory(path, exception); } else { return pathVisitor.visitFile(path, attrs); } } private final static Comparator<Path> FILES_FIRST = Comparator.<Path, Boolean>comparing(x -> x.toFile().isDirectory()).thenComparing(Path::toString);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 3.5K bytes - Viewed (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
check(Files.isDirectory(dir)) { "Must be a directory" } Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() { override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult { val entryName = dir.relativize(file).joinToString(separator = "/") { it.toString() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatistics.java
} protected abstract FileVisitResult doPreVisitDirectory(Path dir, BasicFileAttributes attrs); @Override public final FileVisitResult visitFile(Path file, BasicFileAttributes attrs) { collector.recordVisitFile(); return doVisitFile(file, attrs); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 4.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/SyncCopyActionDecorator.java
} @Override public void visitDir(FileVisitDetails dirDetails) { maybeDelete(dirDetails); } @Override public void visitFile(FileVisitDetails fileDetails) { maybeDelete(fileDetails); } private void maybeDelete(FileVisitDetails fileDetails) { RelativePath path = fileDetails.getRelativePath();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 09 13:29:36 UTC 2019 - 4.7K bytes - Viewed (0) -
testing/smoke-ide-test/src/smokeIdeTest/groovy/org/gradle/ide/sync/fixtures/IsolatedProjectsIdeSyncFixture.groovy
List<TestFile> reportDirs = [] Files.walkFileTree(reportsDir.toPath(), new SimpleFileVisitor<Path>() { @Override FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { if (file.getFileName().toString() == "configuration-cache-report.html") { reportDirs += new TestFile(file.parent.toString())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeProvider/AbstractHasCommonSubtypeTest.kt
} else { super.visitCallExpression(expression) } } } visitor.visitFile(ktFile) } if (errors.isNotEmpty()) { testServices.assertions.fail { errors.joinToString("\n") } } val actualText = actualTextBuilder.toString()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.1K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/mutator/ClearArtifactTransformCacheWithoutInstrumentedJarsMutator.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 12:30:06 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/SingleIncludePatternFileTree.java
if (!excludeSpec.isSatisfiedBy(details)) { visitor.visitFile(details); } } } else if (file.isDirectory()) { RelativePath path = new RelativePath(false, pathSegments.toArray(new String[0]));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.5K bytes - Viewed (0)