o
    *Î®c’  ã                   @   s:  d Z ddlZddlmZ ddlmZ e ¡ r.zddlmZ W ny ey-   ddl	m
Z Y nkw e ¡ rfzddlmZ W n] eye   zdd	lmZ e d
¡ W n eyb   ddl	m
Z e d¡ Y nw Y n3w e ¡ rqdd	lmZ n'e ¡ r’zddlmZ W n ey‘   ddl	m
Z e d¡ Y nw ddl	m
Z dgZdS )uü  
:module: watchdog.observers
:synopsis: Observer that picks a native implementation if available.
:author: yesudeep@google.com (Yesudeep Mangalapilly)
:author: contact@tiger-222.fr (MickaÃ«l Schoentgen)

Classes
=======
.. autoclass:: Observer
   :members:
   :show-inheritance:
   :inherited-members:

Observer thread that schedules watching directories and dispatches
calls to event handlers.

You can also import platform specific classes directly and use it instead
of :class:`Observer`.  Here is a list of implemented observer classes.:

============== ================================ ==============================
Class          Platforms                        Note
============== ================================ ==============================
|Inotify|      Linux 2.6.13+                    ``inotify(7)`` based observer
|FSEvents|     macOS                            FSEvents based observer
|Kqueue|       macOS and BSD with kqueue(2)     ``kqueue(2)`` based observer
|WinApi|       MS Windows                       Windows API-based observer
|Polling|      Any                              fallback implementation
============== ================================ ==============================

.. |Inotify|     replace:: :class:`.inotify.InotifyObserver`
.. |FSEvents|    replace:: :class:`.fsevents.FSEventsObserver`
.. |Kqueue|      replace:: :class:`.kqueue.KqueueObserver`
.. |WinApi|      replace:: :class:`.read_directory_changes.WindowsApiObserver`
.. |Polling|     replace:: :class:`.polling.PollingObserver`

é    N)Úplatform)ÚUnsupportedLibcé   )ÚInotifyObserver)ÚPollingObserver)ÚFSEventsObserver)ÚKqueueObserverz.Failed to import fsevents. Fall back to kqueuez;Failed to import fsevents and kqueue. Fall back to polling.)ÚWindowsApiObserverz>Failed to import read_directory_changes. Fall back to polling.ÚObserver)Ú__doc__ÚwarningsÚwatchdog.utilsr   r   Úis_linuxÚinotifyr   r
   Úpollingr   Ú	is_darwinÚfseventsr   Ú	ExceptionÚkqueuer   ÚwarnÚis_bsdÚ
is_windowsÚread_directory_changesr	   Ú__all__© r   r   úB/tmp/pip-target-vg8gfxp4/lib/python/watchdog/observers/__init__.pyÚ<module>   sD   %ÿþ€üþ
