Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for directorySnapshot (0.52 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MerkleDirectorySnapshotBuilder.java

        }
    
        @Override
        public void visitLeafElement(FileSystemLeafSnapshot snapshot) {
            collectEntry(snapshot);
        }
    
        @Override
        public void visitDirectory(DirectorySnapshot directorySnapshot) {
            collectEntry(directorySnapshot);
        }
    
        @Override
        public FileSystemLocationSnapshot leaveDirectory() {
            FileSystemLocationSnapshot snapshot = directoryStack.removeLast().fold();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/OverlappingOutputsFilterTest.groovy

            def outputFile = fileSnapshot("outputs", TestHashCodes.hashCodeFrom(345))
    
            def emptyDirectory = directorySnapshot()
            def directoryWithStaleFile = directorySnapshot(staleFile)
            def directoryWithStaleFileAndOutput = directorySnapshot(outputFile, staleFile)
            def directoryWithOutputFile = directorySnapshot(outputFile)
    
            def previousOutputs = ImmutableSortedMap.<String, FileSystemSnapshot> of(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemSnapshotHierarchyVisitor.java

     */
    public interface FileSystemSnapshotHierarchyVisitor {
    
        /**
         * Called before visiting the contents of a directory.
         */
        default void enterDirectory(DirectorySnapshot directorySnapshot) {}
    
        /**
         * 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.3K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepository.java

                    entrySnapshot.accept(new FileSystemLocationSnapshotVisitor() {
                        @Override
                        public void visitDirectory(DirectorySnapshot directorySnapshot) {
                            recordOutputSnapshot(directorySnapshot);
                        }
    
                        @Override
                        public void visitRegularFile(RegularFileSnapshot fileSnapshot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetectorTest.groovy

        }
    
        def "detects overlap when there is a stale #type in an output directory"() {
            def emptyDirectory = new DirectorySnapshot("/absolute", "absolute", AccessType.DIRECT, TestHashCodes.hashCodeFrom(0x1234), [])
            def directoryWithStaleBrokenSymlink = new DirectorySnapshot("/absolute", "absolute", AccessType.DIRECT, TestHashCodes.hashCodeFrom(0x5678), [
                staleEntry
            ])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java

                            AtomicBoolean symlinkHasBeenFiltered = new AtomicBoolean();
                            DirectorySnapshot targetSnapshot = followSymlink(file, internedFileName, symlinkHasBeenFiltered);
                            if (targetSnapshot != null) {
                                DirectorySnapshot directorySnapshotAccessedViaSymlink = new DirectorySnapshot(
                                    targetSnapshot.getAbsolutePath(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

            snapshot.absolutePath == rootDir.absolutePath
    
            def link2 = snapshot.children[0].children[0] as DirectorySnapshot
            link2.accessType == AccessType.VIA_SYMLINK
            link2.name == "linked"
    
            def link3 = link2.children[1].children[0] as DirectorySnapshot
            link3.accessType == AccessType.VIA_SYMLINK
            link3.name == "linked3"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLocationSnapshot.java

            default void visitDirectory(DirectorySnapshot directorySnapshot) {};
            default void visitRegularFile(RegularFileSnapshot fileSnapshot) {};
            default void visitMissing(MissingFileSnapshot missingSnapshot) {};
        }
    
        interface FileSystemLocationSnapshotTransformer<T> {
            T visitDirectory(DirectorySnapshot directorySnapshot);
            T visitRegularFile(RegularFileSnapshot fileSnapshot);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:09:45 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetector.java

                    @Override
                    public Boolean visitDirectory(DirectorySnapshot directorySnapshot) {
                        // Check if a new directory appeared. For matching directories don't check content
                        // hash as we should detect individual entries that are different instead)
                        return hasNewContent(relativePath, directorySnapshot);
                    }
    
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdater.java

                    @Override
                    public SnapshotVisitResult visitDirectory(DirectorySnapshot directorySnapshot) {
                        if (watchableHierarchies.ignoredForWatching(directorySnapshot)) {
                            return SnapshotVisitResult.SKIP_SUBTREE;
                        } else {
                            subDirectoryToWatchConsumer.accept(directorySnapshot.getAbsolutePath());
                            return SnapshotVisitResult.CONTINUE;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 04:59:05 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top