diff options
author | Valery Piashchynski <[email protected]> | 2020-02-19 17:30:05 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-02-19 17:30:05 +0300 |
commit | 9cff24e4d515d684cefdf46624da90d22224aeaa (patch) | |
tree | b49142bcb1fd207065259f7693e36ab67f8eed58 /service/reload/samefile.go | |
parent | 24ec01aa7f0225098e4c750a8c51843cc41bbf8b (diff) |
First concept of reload
Diffstat (limited to 'service/reload/samefile.go')
-rw-r--r-- | service/reload/samefile.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/service/reload/samefile.go b/service/reload/samefile.go new file mode 100644 index 00000000..80df0431 --- /dev/null +++ b/service/reload/samefile.go @@ -0,0 +1,9 @@ +// +build !windows + +package reload + +import "os" + +func sameFile(fi1, fi2 os.FileInfo) bool { + return os.SameFile(fi1, fi2) +} |