fix(inotify): report .closed events separately from .modified events
This commit is contained in:
parent
95c7580a87
commit
99dec3f689
9 changed files with 59 additions and 1 deletions
|
|
@ -7,6 +7,11 @@ pub const EventType = enum {
|
|||
created,
|
||||
/// A file's contents were modified.
|
||||
modified,
|
||||
/// A file was closed.
|
||||
///
|
||||
/// Only delivered by INotfiy (Linux) and only if the file was opened
|
||||
/// for writing.
|
||||
closed,
|
||||
/// A file or directory was deleted.
|
||||
deleted,
|
||||
/// A file or directory was renamed or moved.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue