diff options
author | Robin Jarry <robin@jarry.cc> | 2023-03-09 22:26:03 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-03-09 22:29:48 +0100 |
commit | 5a6a11ddad23e24ffaf2eabaef60f07c20138992 (patch) | |
tree | 2724d705377aeb645b525f548ad6c4306b603640 /worker/watcher_darwin.go | |
parent | 96d85a905f33c5b85b558c1059284db719292096 (diff) | |
download | aerc-fs.tar.gz aerc-fs.zip |
fswatcher: fix bsd supportfs
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>
Diffstat (limited to 'worker/watcher_darwin.go')
-rw-r--r-- | worker/watcher_darwin.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/worker/watcher_darwin.go b/worker/watcher_darwin.go deleted file mode 100644 index fa1af712..00000000 --- a/worker/watcher_darwin.go +++ /dev/null @@ -1,6 +0,0 @@ -//go:build darwin -// +build darwin - -package worker - -import _ "git.sr.ht/~rjarry/aerc/worker/lib/watchers/darwin" |