Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 407 for Visiting (0.14 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AttributeBasedFileVisitDetailsFactory.java

         *
         * @param path Path of the file
         * @param relativePath RelativePath of the file
         * @param attrs attributes of the path, null if not available
         * @param stopFlag transient flag to stop visiting
         * @param fileSystem for Chmod and Stat
         * @return FileVisitDetails
         */
        public static FileVisitDetails getRootFileVisitDetails(
            Path path,
            RelativePath relativePath,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ResolvedFileVisitor.java

         */
        void visitFile(File file);
    
        /**
         * Called when some problem occurs visiting some element of the set. Visiting may continue.
         */
        void visitFailure(Throwable failure);
    
        /**
         * Called after a set of artifacts has been visited.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactVisitor.java

         *
         * Returns true here allows the collection to preemptively resolve the files in parallel.
         */
        boolean requireArtifactFiles();
    
        /**
         * Called when some problem occurs visiting some element of the set. Visiting may continue.
         */
        void visitFailure(Throwable failure);
    
        /**
         * Called after a set of artifacts has been visited.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeSpec.groovy

    @UsesNativeServices
    class GeneratedSingletonFileTreeSpec extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def fileSystem = Stub(FileSystem)
    
        def "visiting creates file if visitor queries the file location"() {
            def contentWriter = Mock(Action)
            def generationListener = Mock(Action)
            def tmpDir = tmpDir.createDir("dir")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolvedComponentVisitor.java

    import org.gradle.api.artifacts.result.ResolvedVariantResult;
    
    import javax.annotation.Nullable;
    import java.util.List;
    
    public interface ResolvedComponentVisitor {
        /**
         * Starts visiting a component.
         */
        void startVisitComponent(Long id, ComponentSelectionReason selectionReason, @Nullable String repoName);
    
        /**
         * Visit graph independent details of the component.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/DirectorySnapshotBuilder.java

    import javax.annotation.Nullable;
    
    /**
     * A builder for {@link DirectorySnapshot}.
     *
     * In order to build a directory snapshot, you need to call the methods for entering/leaving a directory
     * and for visiting leaf elements.
     * The visit methods need to be called in depth-first order.
     * When leaving a directory, the builder will create a {@link DirectorySnapshot} for the directory,
     * calculating the combined hash of the entries.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RootTrackingFileSystemSnapshotHierarchyVisitor.java

        private int treeDepth;
    
        /**
         * Called before visiting the contents of a directory.
         */
        public void enterDirectory(DirectorySnapshot directorySnapshot, boolean isRoot) {}
    
        /**
         * Called for each regular file/directory/missing/unavailable file.
         *
         * @return how to continue visiting the rest of the snapshot hierarchy.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

                    eachFile { fcd ->
                        println("visiting ${fcd.path}")
                        fcd.path = "sub/${fcd.path}"
                    }
                }
            '''
    
            when:
            run 'copy'
    
            then:
            output.count('visiting ') == 2
            outputContains('visiting a.txt')
            outputContains('visiting dir/b.txt')
            file('dest').assertHasDescendants(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  9. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ArchiveTreePerformanceTest.groovy

                generateArchiveContents(archiveContentsDir)
            }
        }
    
        @RunFor(
            @Scenario(type = PER_COMMIT, operatingSystems = [LINUX], testProjects = ["archivePerformanceProject"])
        )
        def "visiting zip trees"() {
            given:
            runner.tasksToRun = ['visitZip']
            runner.addBuildMutator { createArchive(it, "archive.zip") { contents, output -> contents.zipTo(output) } }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:42:52 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultExecutionPlan.java

                        if (!visiting.contains(successor)) {
                            insertPoint.add(successor);
                        }
                    }
                } else {
                    // Have visited this node's dependencies - add it to the graph
                    queue.removeFirst();
                    visiting.remove(node);
                    node.dependenciesProcessed();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.6K bytes
    - Viewed (0)
Back to top