fix: ToShortPath 错误地展开了相对路径

This commit is contained in:
龙腾猫跃 committed 2026-05-12 21:09:55 +08:00
1 parent f57f496d25
commit f2d4070b6a
3 files changed
+8 -7

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ public static class HashUtils {
HashMethod.Sha512 => SHA512.Create(),
_ => throw new ArgumentOutOfRangeException(nameof(method))
};
Logger.Trace($"计算文件 {method}:{filePath}");
return BitConverter.ToString(hashImpl.ComputeHash(file)).Replace("-", "").ToLower();
}