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
@@ -15,3 +15,7 @@ func skillPathFileIncarnation(info os.FileInfo) string {
|
||||
}
|
||||
return fmt.Sprintf("%d:%d", stat.CreationTime.HighDateTime, stat.CreationTime.LowDateTime)
|
||||
}
|
||||
|
||||
func skillPathSameFileIdentity(left, right os.FileInfo) bool {
|
||||
return skillPathFileIncarnation(left) == skillPathFileIncarnation(right)
|
||||
}
|
||||
Reference in new issue
Block a user