]> Sergey Matveev's repositories - public-inbox.git/commit
dir_idle: support IN_DELETE_SELF|IN_MOVE_SELF, too
authorEric Wong <e@80x24.org>
Fri, 14 May 2021 20:14:47 +0000 (20:14 +0000)
committerEric Wong <e@80x24.org>
Sat, 15 May 2021 05:39:17 +0000 (05:39 +0000)
commit79e274b293a71fb41dd8bf6e9598a8e8a24fed4f
tree2847419f054afcd738b12c1a6fd3d130b9a4a3a1
parent671e7f4c9d82b053fba475aaeaa16a94dc3adad2
dir_idle: support IN_DELETE_SELF|IN_MOVE_SELF, too

We'll treat IN_MOVE_SELF as IN_DELETE_SELF since there
doesn't seem to be a reliable way to distinguish them
with FakeInotify, nor know the new name with kevent.
lib/PublicInbox/DirIdle.pm
lib/PublicInbox/FakeInotify.pm
lib/PublicInbox/KQNotify.pm
t/dir_idle.t