summaryrefslogtreecommitdiff
path: root/service/reload/samefile_windows.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-19 16:13:54 +0300
committerValery Piashchynski <[email protected]>2020-12-19 16:13:54 +0300
commite549066853c9fb37b359af442777126dc1f748d7 (patch)
tree8bbd4a89226ea594c685dca90c97c55219ba2870 /service/reload/samefile_windows.go
parent73d3f968b690b0e34e571580243e5fdd0d42199c (diff)
Remove unneded goroutines, remove samefile abstraction and checking for
the samefile.
Diffstat (limited to 'service/reload/samefile_windows.go')
-rw-r--r--service/reload/samefile_windows.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/service/reload/samefile_windows.go b/service/reload/samefile_windows.go
deleted file mode 100644
index 5f70d327..00000000
--- a/service/reload/samefile_windows.go
+++ /dev/null
@@ -1,12 +0,0 @@
-// +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()
-}