-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review representation of mask
in Event
#76
Comments
I just had this thought regarding this issue: Extending the test suite in such a way would be a good idea anyway, but it would be especially important before we hardcode any assumptions about how the event mask is structured. |
Another tought: |
Additional thoughts:
|
I would like to have a representation of an |
From reading the man pages, I get the impression that distinct event objects are generated for each type of event, and that therefore most bits in the event mask can't coexist. If that is the case, maybe it makes sense to create a new enum,
EventKind
, to represent the type of event.One exception to this case is
IN_ISDIR
, which can be set in addition to other bits that identify the type of event. A newbool
field could be created specifically for this flag.In any case, before anything like this can be merged, more careful reading of the man pages and probably some experimentation is required.
The text was updated successfully, but these errors were encountered: