- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 62 for visitFiles (0.12 sec)
-
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/FilteredMinimalFileTreeTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy
def fileTree = new DirectoryFileTree(rootDir, new PatternSet(), TestFiles.fileSystem(), false) def visited = [] def visitClosure = { visited << it } def fileVisitor = [visitFile: visitClosure, visitDir: visitClosure, isReproducibleFileOrder: { isReproducible }] as ReproducibleFileVisitor fileTree.visit(fileVisitor) visited }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/FilteredMinimalFileTree.java
visitor.visitDir(dirDetails); } } @Override public void visitFile(FileVisitDetails fileDetails) { if (spec.isSatisfiedBy(fileDetails)) { visitor.visitFile(fileDetails); } } }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeSpec.groovy
def fileTree = new GeneratedSingletonFileTree({ tmpDir }, "file.bin", generationListener, contentWriter, fileSystem) when: fileTree.visit(visitor) then: 1 * visitor.visitFile(_) >> { FileVisitDetails details -> assert details.path == "file.bin" assert !generatedFile.exists() assert details.file == generatedFile assert generatedFile.text == "contents!"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/PathVisitor.java
private FileVisitResult checkStopFlag() { return stopFlag.get() ? FileVisitResult.TERMINATE : FileVisitResult.CONTINUE; } @Override public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) { FileVisitDetails details = getFileVisitDetails(file, attrs); if (shouldVisit(details)) { if (attrs.isSymbolicLink()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarCopyAction.java
public void processFile(FileCopyDetailsInternal details) { if (details.isDirectory()) { visitDir(details); } else { visitFile(details); } } private void visitFile(FileCopyDetails fileDetails) { try { TarArchiveEntry archiveEntry = new TarArchiveEntry(fileDetails.getRelativePath().getPathString());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 08 14:16:53 UTC 2023 - 5.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java
if (fileMetadata.getType() == FileType.RegularFile) { visitFile(file, prefix + file.getName(), visitor); } else if (fileMetadata.getType() == FileType.Directory) { visitDir(file, prefix + file.getName() + "/", visitor); } } } private void visitFile(File file, String name, ClasspathEntryVisitor visitor) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.6K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/FileVisitor.java
*/ void visitDir(FileVisitDetails dirDetails); /** * Visits a file. * * @param fileDetails Meta-info about the file. */ void visitFile(FileVisitDetails fileDetails);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:00:51 UTC 2019 - 1.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ResolvedFileCollectionVisitor.java
@Override public FileCollectionStructureVisitor.VisitType prepareForVisit(FileCollectionInternal.Source source) { return visitor.prepareForVisit(source); } @Override public void visitFile(File file) { files.add(file); } @Override public void visitFailure(Throwable failure) { failures.add(failure); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileFilesFactory.java
CollectingMacroLookup visibleMacros = new CollectingMacroLookup(initialIncludeDirectives); FileVisitResult result = visitFile(sourceFile, fileContent, visibleMacros, new HashSet<HashCode>(), existingHeaders); Set<IncludeFileEdge> includedFiles = new LinkedHashSet<IncludeFileEdge>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 14.6K bytes - Viewed (0)