Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for updateVfsAfterBuildFinished (0.33 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

            0 * _
    
            when:
            watchingVirtualFileSystem.afterBuildFinished()
            then:
            1 * watcherRegistry.updateVfsAfterBuildFinished(_) >> watchingVirtualFileSystem.root
            0 * _
    
            when:
            watchingVirtualFileSystem.updateRootUnderLock { root -> nonEmptySnapshotHierarchy }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherRegistry.java

         *
         * @return the snapshot hierarchy without snapshots which can't be kept till the next build.
         */
        @CheckReturnValue
        SnapshotHierarchy updateVfsAfterBuildFinished(SnapshotHierarchy root);
    
        /**
         * Get statistics about the received changes.
         */
        FileWatchingStatistics getAndResetStatistics();
    
        /**
         * Configures debug logging.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/DefaultFileWatcherRegistry.java

            return fileWatcherUpdater.updateVfsBeforeBuildFinished(root, maximumNumberOfWatchedHierarchies, unsupportedFileSystems);
        }
    
        @Override
        public SnapshotHierarchy updateVfsAfterBuildFinished(SnapshotHierarchy root) {
            return fileWatcherUpdater.updateVfsBeforeAfterFinished(root);
        }
    
        private static Type convertType(FileWatchEvent.ChangeType type) {
            switch (type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java

                    FileWatcherRegistry watchRegistry = this.watchRegistry;
                    if (watchRegistry != null) {
                        return watchRegistry.updateVfsAfterBuildFinished(currentRoot);
                    } else {
                        // Drop everything if we can't watch the file system
                        return currentRoot.empty();
                    }
                }));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 16:22:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top