Folderwatcher: On linux, fix paths after dir renames #6808
authorChristian Kamm <mail@ckamm.de>
Fri, 12 Oct 2018 09:03:10 +0000 (11:03 +0200)
committerCamila (Rebase PR Action) <hello@camila.codes>
Tue, 24 Nov 2020 16:56:49 +0000 (16:56 +0000)
commit351bada5522dffad89665650d30d63b64d0c7e8d
treeaba94d3017ce3c56428cb9c32eb3b035ca042e3f
parentfe29290564efe75a0dc9d7fb7a774a591aaf4dd2
Folderwatcher: On linux, fix paths after dir renames #6808

If a folder was renamed A -> B, the folder watcher for the inode
would be unaware and still report changes for A/foo. Now directory
renames in the watched folders are tracked and paths are updated
accordingly.
src/gui/folderwatcher_linux.cpp
src/gui/folderwatcher_linux.h
test/testfolderwatcher.cpp