blob: 5f70d327cedb62881cb9f6f83d1b043e1f135805 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// +build windows
package reload
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()
}
|