From ff2c898652de37f70cd2774a208e61b112d06e1b Mon Sep 17 00:00:00 2001
From: lixiaobing10051267
Date: Sun, 24 Jul 2016 13:07:35 +0800
Subject: [PATCH] Modify several fun notes in fsnotify.go
Signed-off-by: lixiaobing10051267
---
pkg/filenotify/fsnotify.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkg/filenotify/fsnotify.go b/pkg/filenotify/fsnotify.go
index 4203883585..dba2fc3756 100644
--- a/pkg/filenotify/fsnotify.go
+++ b/pkg/filenotify/fsnotify.go
@@ -2,17 +2,17 @@ package filenotify
import "gopkg.in/fsnotify.v1"
-// fsNotify wraps the fsnotify package to satisfy the FileNotifer interface
+// fsNotifyWatcher wraps the fsnotify package to satisfy the FileNotifer interface
type fsNotifyWatcher struct {
*fsnotify.Watcher
}
-// GetEvents returns the fsnotify event channel receiver
+// Events returns the fsnotify event channel receiver
func (w *fsNotifyWatcher) Events() <-chan fsnotify.Event {
return w.Watcher.Events
}
-// GetErrors returns the fsnotify error channel receiver
+// Errors returns the fsnotify error channel receiver
func (w *fsNotifyWatcher) Errors() <-chan error {
return w.Watcher.Errors
}