1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

doc(fsnotifyext): add godoc for GetChan method

This commit is contained in:
Teddy Sommavilla
2025-04-22 11:39:02 +02:00
committed by Andrey Nering
parent 6e524bb2fa
commit cd910abd45

View File

@ -19,6 +19,9 @@ func NewDeduper(w *fsnotify.Watcher, waitTime time.Duration) *Deduper {
} }
} }
// GetChan returns a chan of deduplicated [fsnotify.Event].
//
// [fsnotify.Chmod] operations will be skipped.
func (d *Deduper) GetChan() <-chan fsnotify.Event { func (d *Deduper) GetChan() <-chan fsnotify.Event {
channel := make(chan fsnotify.Event) channel := make(chan fsnotify.Event)