Add message size in chars and bytes (#1100)

* Add message size in chars and bytes

* Log hash of message body
This commit is contained in:
jeff
2021-06-10 12:58:56 -07:00
committed by GitHub
parent a1bcd5996b
commit 42fe704132
4 changed files with 6 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ namespace GitHub.Runner.Sdk
return StringUtil.ConvertFromJson<T>(json);
}
public static string GetPathHash(string path)
public static string GetSha256Hash(string path)
{
string hashString = path.ToLowerInvariant();
using (SHA256 sha256hash = SHA256.Create())