fix(skills): compare Windows publication identity stably

This commit is contained in:
玉澜 committed 2026-08-14 20:07:33 +08:00
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)
}