mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 13:22:54 +00:00 
			
		
		
		
	Implement inotify based pipe connector
This commit is contained in:
		@@ -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):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user