diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2023-03-02 16:46:02 -0600 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-03-07 16:37:02 +0100 |
commit | 27cacdfca581d1f51f3e99a8f94c859fe8576790 (patch) | |
tree | 2a77ea0b05ce11aa845d37e0ee5520fca09a0882 /worker/watcher_darwin.go | |
parent | 261c388c7325f07efb58afe97ddcf83e6fa99ce7 (diff) | |
download | aerc-27cacdfca581d1f51f3e99a8f94c859fe8576790.tar.gz |
fswatcher: add a darwin fswatcher implementation
Add a darwin implementation of FSWatcher using the fsevents package. The
implementation is behind a darwin build flag.
Co-authored-by: Ben Cohen <ben@bencohen.net>
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Tested-by: Ben Lee-Cohen <ben@lee-cohen.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/watcher_darwin.go')
-rw-r--r-- | worker/watcher_darwin.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/worker/watcher_darwin.go b/worker/watcher_darwin.go new file mode 100644 index 00000000..fa1af712 --- /dev/null +++ b/worker/watcher_darwin.go @@ -0,0 +1,6 @@ +//go:build darwin +// +build darwin + +package worker + +import _ "git.sr.ht/~rjarry/aerc/worker/lib/watchers/darwin" |