fix(skills): compare Windows publication identity stably
This commit is contained in:
1 parent
dd89c67f4d
commit
16d20b8178
5 files changed
+19
-6
No files matched your search
@@ -16,3 +16,7 @@ func skillPathFileIncarnation(info os.FileInfo) string {
|
||||
return fmt.Sprintf("%d:%d:%d:%d:%d:%d:%d", stat.Dev, stat.Ino, stat.Gen,
|
||||
stat.Ctimespec.Sec, stat.Ctimespec.Nsec, stat.Birthtimespec.Sec, stat.Birthtimespec.Nsec)
|
||||
}
|
||||
|
||||
func skillPathSameFileIdentity(left, right os.FileInfo) bool {
|
||||
return os.SameFile(left, right)
|
||||
}
|
||||
Reference in new issue
Block a user