Skip to content

Commit

Permalink
documentation/inotify: add newly supported events
Browse files Browse the repository at this point in the history
IN_CLOSE_WRITE and IN_CLOSE_NOWRITE are now supported and IN_MODIFY
can be used for truncate as well.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
  • Loading branch information
michallenc authored and xiaoxiang781216 committed Oct 8, 2024
1 parent 531dbaf commit dc6f406
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Documentation/components/filesystem/inotify.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,16 @@ calling inotify_add_watch and may be returned in the mask field returned by re
**IN_ACCESS** :File was accessed
**IN_MODIFY** :File was modified
**IN_MODIFY** :File was modified (``write()`` or ``truncate()``)
**IN_ATTRIB** :Metadata changed
**IN_OPEN** :File was opened
**IN_CLOSE_WRITE** :File opened for writing was closed
**IN_CLOSE_NOWRITE** : File not opened for writing was closed
**IN_MOVED_FROM** :File was moved from X
**IN_MOVED_TO** :File was moved to Y
Expand Down

0 comments on commit dc6f406

Please sign in to comment.