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

@@ -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)
}