Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shouldWatchLocation (0.53 sec)

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

                        newValue = newValue.plus(location);
                    }
                    return newValue;
                });
            }
        }
    
        public boolean shouldWatchLocation(String location) {
            return !locationsWrittenByCurrentBuild.get().contains(location);
        }
    
        public FileHierarchySet getImmutableLocations() {
            return immutableLocations;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java

                this.delegate = delegate;
            }
    
            @Override
            public void handleChange(FileWatcherRegistry.Type type, Path path) {
                if (locationsWrittenByCurrentBuild.shouldWatchLocation(path.toString())) {
                    delegate.handleChange(type, path);
                }
            }
    
            @Override
            public void stopWatchingAfterError() {
    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