diff options
author | Jameson Miller <jamill@microsoft.com> | 2013-02-04 20:15:20 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-02-05 02:04:01 +0400 |
commit | 72f2f3563482762a64fd6f3c62cf77a878b17c74 (patch) | |
tree | 4e9d72b5f0cc59bfbb7e60ef1460860743a8c9fa /LibGit2Sharp/PushStatusError.cs | |
parent | c478d49ffa12b4b73cab4400a9595923dc0fb553 (diff) |
Initial push implementation
Diffstat (limited to 'LibGit2Sharp/PushStatusError.cs')
-rw-r--r-- | LibGit2Sharp/PushStatusError.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/LibGit2Sharp/PushStatusError.cs b/LibGit2Sharp/PushStatusError.cs new file mode 100644 index 00000000..980f5a18 --- /dev/null +++ b/LibGit2Sharp/PushStatusError.cs @@ -0,0 +1,30 @@ +namespace LibGit2Sharp +{ + /// <summary> + /// Information on an error updating reference on remote during a push. + /// </summary> + public class PushStatusError + { + /// <summary> + /// Needed for mocking purposes. + /// </summary> + protected PushStatusError() + { } + + /// <summary> + /// The reference this status refers to. + /// </summary> + public virtual string Reference { get; private set; } + + /// <summary> + /// The message regarding the update of this reference. + /// </summary> + public virtual string Message { get; private set; } + + internal PushStatusError(string reference, string message) + { + Reference = reference; + Message = message; + } + } +} |