update dependencies

- add watch
- remove fsnotify
- update others
This commit is contained in:
Andrey Nering
2017-08-05 14:13:35 -03:00
parent 23ec6c721d
commit 0f24fd593e
246 changed files with 924 additions and 134026 deletions

View File

@@ -0,0 +1,12 @@
// +build windows
package watcher
import "os"
func SameFile(fi1, fi2 os.FileInfo) bool {
return fi1.ModTime() == fi2.ModTime() &&
fi1.Size() == fi2.Size() &&
fi1.Mode() == fi2.Mode() &&
fi1.IsDir() == fi2.IsDir()
}