mirror of
https://github.com/go-task/task.git
synced 2026-07-07 14:09:11 +00:00
update dependencies
- add watch - remove fsnotify - update others
This commit is contained in:
12
vendor/github.com/radovskyb/watcher/samefile_windows.go
generated
vendored
Normal file
12
vendor/github.com/radovskyb/watcher/samefile_windows.go
generated
vendored
Normal 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()
|
||||
}
|
||||
Reference in New Issue
Block a user