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:
committed by
Andrey Nering
parent
6e524bb2fa
commit
cd910abd45
@ -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 {
|
||||
channel := make(chan fsnotify.Event)
|
||||
|
||||
|
Reference in New Issue
Block a user