Implement inotify based pipe connector

This commit is contained in:
R. Richard
2019-08-14 14:12:31 +02:00
parent 9e49a93df3
commit f5582f0207
6 changed files with 260 additions and 7 deletions

View File

@ -1,5 +1,5 @@
# pylint: disable=too-few-public-methods
import logging
from typing import Iterable
from time import time
from os.path import abspath, dirname, isdir
@ -11,6 +11,8 @@ from watchdog.events import (
DirCreatedEvent, DirModifiedEvent, DirMovedEvent, DirDeletedEvent
)
logging.getLogger('watchdog.observers.inotify_buffer').propagate = False
class InotifyEvent:
def __init__(self, src_path):