Added file.monitor backend [closes ]

The file.monitor backend leverages watchdog instead of the Linux-only
inotify API and it replaces the inotify backend.
This commit is contained in:
Fabio Manganiello 2021-03-14 00:07:17 +01:00
parent 6f224cbda9
commit 352d421e61
15 changed files with 264 additions and 2 deletions

View file

@ -22,6 +22,7 @@ Backends
platypush/backend/clipboard.rst
platypush/backend/covid19.rst
platypush/backend/dbus.rst
platypush/backend/file.monitor.rst
platypush/backend/foursquare.rst
platypush/backend/github.rst
platypush/backend/google.fit.rst

View file

@ -23,7 +23,7 @@ import sys
# -- Project information -----------------------------------------------------
project = 'platypush'
copyright = '2017-2020, Fabio Manganiello'
copyright = '2017-2021, Fabio Manganiello'
author = 'Fabio Manganiello'
# The short X.Y version
@ -265,6 +265,7 @@ autodoc_mock_imports = ['googlesamples.assistant.grpc.audio_helpers',
'imapclient',
'pysmartthings',
'aiohttp',
'watchdog',
]
sys.path.insert(0, os.path.abspath('../..'))

View file

@ -18,6 +18,7 @@ Events
platypush/events/covid19.rst
platypush/events/custom.rst
platypush/events/distance.rst
platypush/events/file.rst
platypush/events/foursquare.rst
platypush/events/geo.rst
platypush/events/github.rst

View file

@ -0,0 +1,5 @@
``platypush.backend.file.monitor``
==================================
.. automodule:: platypush.backend.file.monitor
:members:

View file

@ -0,0 +1,5 @@
``platypush.message.event.file``
================================
.. automodule:: platypush.message.event.file
:members: