aboutsummaryrefslogtreecommitdiffstats
path: root/worker/lib/watchers/fsevents.go
Commit message (Collapse)AuthorAgeFilesLines
* watchers: move filesystem monitoring stuff in libRobin Jarry2023-08-041-84/+0
| | | | | | | No functional change. This will allow reuse in other parts of aerc. Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Koni Marti <koni.marti@gmail.com>
* fswatcher: fix bsd supportRobin Jarry2023-03-101-0/+84
Fix the following error when running maildir on freebsd: could not create file system watcher: Unsupported OS: freebsd Do not register based on os type. Register based on supported API. Rename linux -> inotify and darwin -> fsevents. Only build fsevents on darwin, and inotify on all other platforms. Fixes: a0935a3de0ce ("worker/lib: implement an fswatcher interface") Reported-by: Jens Grassel <jens@wegtam.com> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Jens Grassel <jens@wegtam.com>