]> Sergey Matveev's repositories - public-inbox.git/commit
kqnotify|fake_inotify: detect Maildir write ops
authorEric Wong <e@yhbt.net>
Sat, 27 Jun 2020 10:03:35 +0000 (10:03 +0000)
committerEric Wong <e@yhbt.net>
Sun, 28 Jun 2020 22:27:13 +0000 (22:27 +0000)
commit5808636263d72b635a46100a7e7037074dad8f75
tree350156684882124b7ce684e2201ce3db2febf5d0
parent1d2cc9c8ebf7916616c947837854a4a01d76d447
kqnotify|fake_inotify: detect Maildir write ops

We need to detect link(2) and rename(2) in other apps
writing to the Maildir.

We'll be removing the Filesys::Notify::Simple from -watch
in favor of using IO::KQueue or Linux::Inotify2 directly.
Ensure non-inotify emulations can support everything we
expect for Maildir writers.
MANIFEST
lib/PublicInbox/FakeInotify.pm
lib/PublicInbox/KQNotify.pm
t/fake_inotify.t [new file with mode: 0644]
t/kqnotify.t [new file with mode: 0644]