mirror of
https://github.com/lilydjwg/archrepo2.git
synced 2025-03-10 12:02:43 +00:00
handle CREATE event for hard links
This commit is contained in:
parent
bcca713e5c
commit
65660f23c5
1 changed files with 4 additions and 0 deletions
|
@ -304,6 +304,10 @@ class EventHandler(pyinotify.ProcessEvent):
|
||||||
logger.debug('Symlinked: %s', file)
|
logger.debug('Symlinked: %s', file)
|
||||||
self.dispatch(file, 'add')
|
self.dispatch(file, 'add')
|
||||||
self.files.add(file)
|
self.files.add(file)
|
||||||
|
else:
|
||||||
|
logger.debug('Linked: %s', file)
|
||||||
|
self.dispatch(file, 'add')
|
||||||
|
self.files.add(file)
|
||||||
|
|
||||||
def movedOut(self, event):
|
def movedOut(self, event):
|
||||||
logger.debug('Moved away: %s', event.pathname)
|
logger.debug('Moved away: %s', event.pathname)
|
||||||
|
|
Loading…
Add table
Reference in a new issue