mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-24 07:09:52 +00:00
29 lines
607 B
C#
29 lines
607 B
C#
using System.Diagnostics;
|
|
using System.Globalization;
|
|
|
|
namespace Octokit
|
|
{
|
|
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
|
public class BlobReference
|
|
{
|
|
public BlobReference() { }
|
|
|
|
public BlobReference(string sha)
|
|
{
|
|
Sha = sha;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The SHA of the blob.
|
|
/// </summary>
|
|
public string Sha { get; protected set; }
|
|
|
|
internal string DebuggerDisplay
|
|
{
|
|
get
|
|
{
|
|
return string.Format(CultureInfo.InvariantCulture, "Sha: {0}", Sha);
|
|
}
|
|
}
|
|
}
|
|
} |