fix: ToShortPath 错误地展开了相对路径
This commit is contained in:
1 parent
f57f496d25
commit
f2d4070b6a
3 files changed
+8
-7
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user