Exemplo n.º 1
0
 internal GitCommit(Commit libGit2Commit)
 {
     _libGit2Commit = libGit2Commit;
     Hash           = _libGit2Commit.GetHashPrefix();
     Url            = $"https://github.com/googleapis/google-cloud-dotnet/commit/{Hash}";
 }
Exemplo n.º 2
0
 /// <summary>
 /// Checks whether the given commit should be skipped.
 /// </summary>
 public static bool IsSkipped(Commit commit) => IsSkipped(commit.GetHashPrefix());