2024-04-27 23:33:08 +00:00
|
|
|
from collections import namedtuple
|
|
|
|
|
|
|
|
|
|
|
|
Event = namedtuple(
|
|
|
|
'Event',
|
|
|
|
['endpoint', 'name', 'action'],
|
|
|
|
defaults=[None, None, None],
|
|
|
|
)
|
|
|
|
|
|
|
|
FileEvent = namedtuple(
|
|
|
|
'FileEvent',
|
|
|
|
['endpoint', 'name', 'action'],
|
|
|
|
defaults=[None, None, None],
|
2024-05-09 07:39:42 +00:00
|
|
|
# action is 32bit flag mask
|
2024-04-27 23:33:08 +00:00
|
|
|
)
|