Skip to content

Commit cd910ab

Browse files
wazazabyandreynering
authored andcommitted
doc(fsnotifyext): add godoc for GetChan method
1 parent 6e524bb commit cd910ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/fsnotifyext/fsnotify_dedup.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ func NewDeduper(w *fsnotify.Watcher, waitTime time.Duration) *Deduper {
1919
}
2020
}
2121

22+
// GetChan returns a chan of deduplicated [fsnotify.Event].
23+
//
24+
// [fsnotify.Chmod] operations will be skipped.
2225
func (d *Deduper) GetChan() <-chan fsnotify.Event {
2326
channel := make(chan fsnotify.Event)
2427

0 commit comments

Comments
 (0)