Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for publishSnapshotDiff (0.29 sec)

  1. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/SnapshotCollectingDiffListener.java

        private final List<FileSystemLocationSnapshot> removedSnapshots = new ArrayList<>();
        private final List<FileSystemLocationSnapshot> addedSnapshots = new ArrayList<>();
    
        public void publishSnapshotDiff(SnapshotHierarchy.SnapshotDiffListener snapshotDiffListener) {
            if (!removedSnapshots.isEmpty() || !addedSnapshots.isEmpty()) {
                snapshotDiffListener.changed(removedSnapshots, addedSnapshots);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdater.java

                SnapshotCollectingDiffListener diffListener = new SnapshotCollectingDiffListener();
                SnapshotHierarchy invalidatedRoot = currentRoot.invalidate(location, diffListener);
                diffListener.publishSnapshotDiff((removedSnapshots, addedSnapshots) -> virtualFileSystemContentsChanged(removedSnapshots, addedSnapshots, invalidatedRoot));
                return invalidatedRoot;
            };
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 04:59:05 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java

                SnapshotHierarchy newRoot = updateFunction.update(diffListener);
                return withWatcherChangeErrorHandling(newRoot, () -> diffListener.publishSnapshotDiff((removedSnapshots, addedSnapshots) ->
                    watchRegistry.virtualFileSystemContentsChanged(removedSnapshots, addedSnapshots, newRoot)
                ));
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 16:22:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

                def diffListener = new SnapshotCollectingDiffListener()
                def newRoot = updateFunction.update(diffListener)
                diffListener.publishSnapshotDiff { removed, added ->
                    updater.virtualFileSystemContentsChanged(removed, added, newRoot)
                }
                return newRoot
            }
        }
    
        List<File> movedPaths = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top