fix - fsnotify-shim - [fork] go fsnotify shim for 9front
HTML git clone git@git.drkhsh.at/fsnotify-shim.git
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 67d0e9513652c83ec29cb8da9ce3b0f6623d8ceb
DIR parent 0bcd003879cdf315698f125956ced5258c5b3695
HTML Author: drkhsh <me@drkhsh.at>
Date: Wed, 30 Jul 2025 07:42:46 +0200
fix
Diffstat:
M fsnotify.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/fsnotify.go b/fsnotify.go
@@ -25,9 +25,10 @@ const (
Remove
Rename
Chmod
- Has
)
+func (o Op) Has(h Op) bool { return o&h != 0 }
+
type Watcher struct {
Events chan Event
Errors chan error