We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PATH_ONLY
1 parent 9095927 commit fb01d39Copy full SHA for fb01d39
src/main/java/engineering/swat/watch/WatchScope.java
@@ -5,7 +5,14 @@
5
*/
6
public enum WatchScope {
7
/**
8
- * Watch changes to a single file or (metadata of) a directory
+ * Watch changes to a single file or (metadata of) a directory, but not its
9
+ * content. That is, the following changes to a directory are watched:
10
+ * - any modification caused by the creation of a nested file/directory;
11
+ * - any modification caused by the deletion of a nested file/directory;
12
+ * - any modification of its own metadata.
13
+ *
14
+ * When changes to nested files/directories should also be watched, use
15
+ * PATH_AND_CHILDREN or PATH_AND_ALL_DESCENDANTS.
16
17
PATH_ONLY,
18
0 commit comments