Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use IllegalStateException for WatchableHierarchies

More naming improvements

  1. … 1 more file in changeset.
Polish HierarchicalFileWatcherUpdater Javadoc

Co-authored-by: Lóránt Pintér <lorant@gradle.com>

Remove FileWatcherUpdater interface from FileWatcherRegistry

the FileWatcherRegistry is not a FileWatcherUpdater.

Update Javadoc for HierarchicalFileWatcherUpdater

Do not expose FileWatcherUpdater on registry

The updater is an OS-dependent strategy which

the registry uses to update its watches.

Remove SnapshotDiffListener interface from FileWatcherUpdater

  1. … 1 more file in changeset.
Ignore test instead of deleting it

When we can watch non-canonicalized directories,

we should re-enabled and rewrite the test.

Use delegation for common file watcher updater code

instead of inheritance.

Use watchable hierarchy

instead of hierarchy to watch.

  1. … 1 more file in changeset.
Improve Javadoc of FileWatcherUpdater

Consistently use hierarchy to watch

  1. … 1 more file in changeset.
Polish

Fail when trying to watch a dir in Gradle's caches

Extract common code from the two updaters

Use 64 kB buffer size for Windows file events

This is the limit for SMB drives. See https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-readdirectorychangesw\#remarks:\~:text\=ERROR_INVALID_PARAMETER

Add some more tests

Add basic tests for NonHierarchicalFileWatcherUpdater

Polish HierarchicalFileWatcherUpdater

Fix remaining HierarchicalFileWatcherUpdaterTest

Fix HierarchicalFileWatcherUpdaterTest

Another fix for the watching logic

Fix watching logic

Only watch selected root directories for non-hierarchical watchers as well

  1. … 1 more file in changeset.
Only watch selected root directories for non-hierarchical watchers as well

  1. … 1 more file in changeset.
Only pass single directories when discovering hierarchies to watch

Watch correct directories for missing watch roots

Address some review feedback

  1. … 5 more files in changeset.
Address some review feedback

  1. … 5 more files in changeset.
Remove non-watched files at the end of the build

  1. … 1 more file in changeset.