Summary
Represents the SHA-1 object identifier of a Git object.
- Namespace
-
GitVersion
.Git - Interfaces
graph BT
Type-.->Interface0["IEquatable<IObjectId>"]
Type-.->Interface1["IComparable<IObjectId>"]
Type["IObjectId"] class Type type-node
Syntax
public interface IObjectId : IEquatable<IObjectId>, IComparable<IObjectId>
Properties
| Name | Value | Summary |
|---|---|---|
| Sha | string |
Gets the full 40-character hexadecimal SHA-1 string.
|
Methods
| Name | Value | Summary |
|---|---|---|
|
ToString |
string |
Returns a shortened representation of the SHA using the
first
prefixLength
characters.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
|
NotNull |
T |
Throws
ArgumentNullException when
value is
null; otherwise returns the
value.
From
CommonExtensions
|