Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for updateNotifyingListeners (1.18 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java

            // The version in sub-locations may be smaller than the version we queried at the root when using a `StoringAction`.
            if (versionBefore >= versionAfter) {
                updateRootUnderLock(root -> updateNotifyingListeners(diffListener -> root.store(absolutePath, snapshot, diffListener)));
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/file/TestVirtualFileSystem.java

    public class TestVirtualFileSystem extends AbstractVirtualFileSystem {
    
        public TestVirtualFileSystem(SnapshotHierarchy root) {
            super(root);
        }
    
        @Override
        protected SnapshotHierarchy updateNotifyingListeners(UpdateFunction updateFunction) {
            return updateFunction.update(SnapshotHierarchy.NodeDiffListener.NOOP);
        }
    
        public void setRoot(SnapshotHierarchy newRoot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 08 14:17:29 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractVirtualFileSystemTest.groovy

        def vfs = new AbstractVirtualFileSystem(DefaultSnapshotHierarchy.empty(CaseSensitivity.CASE_SENSITIVE)) {
            @Override
            protected SnapshotHierarchy updateNotifyingListeners(AbstractVirtualFileSystem.UpdateFunction updateFunction) {
                return updateFunction.update(SnapshotHierarchy.NodeDiffListener.NOOP)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingNotSupportedVirtualFileSystem.java

        public WatchingNotSupportedVirtualFileSystem(SnapshotHierarchy root) {
            super(root);
        }
    
        @Override
        protected SnapshotHierarchy updateNotifyingListeners(UpdateFunction updateFunction) {
            return updateFunction.update(SnapshotHierarchy.NodeDiffListener.NOOP);
        }
    
        @Override
        public boolean afterBuildStarted(
            WatchMode watchMode,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:41:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java

            protected CustomVirtualFileSystem(SnapshotHierarchy root) {
                super(root);
            }
    
            @Override
            protected SnapshotHierarchy updateNotifyingListeners(UpdateFunction updateFunction) {
                return updateFunction.update(SnapshotHierarchy.NodeDiffListener.NOOP);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:35:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java

            this.watchableFileSystemDetector = watchableFileSystemDetector;
            this.fileChangeListeners = fileChangeListeners;
        }
    
        @Override
        protected SnapshotHierarchy updateNotifyingListeners(UpdateFunction updateFunction) {
            if (watchRegistry == null) {
                return updateFunction.update(SnapshotHierarchy.NodeDiffListener.NOOP);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 16:22:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

        FileWatcherUpdater updater
        def virtualFileSystem = new TestVirtualFileSystem(DefaultSnapshotHierarchy.empty(CaseSensitivity.CASE_SENSITIVE)) {
            @Override
            protected SnapshotHierarchy updateNotifyingListeners(AbstractVirtualFileSystem.UpdateFunction updateFunction) {
                def diffListener = new SnapshotCollectingDiffListener()
                def newRoot = updateFunction.update(diffListener)
    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