Summary
Represents a Git reference (branch tip, tag, or symbolic ref).
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Git - Interfaces
-
- IEquatable
<IReference> - IComparable
<IReference> - INamedReference
- IEquatable
graph BT
Type-.->Interface0["IEquatable<IReference>"]
Type-.->Interface1["IComparable<IReference>"]
Type-.->Interface2["INamedReference"]
click Interface2 "/api/GitVersion.Git/INamedReference"
Type["IReference"]
class Type type-node
Syntax
public interface IReference : IEquatable<IReference>, IComparable<IReference>, INamedReference
Attributes
| Type | Description |
|---|---|
| Nullable |
Properties
| Name | Value | Summary |
|---|---|---|
| ReferenceTargetId | IObjectId |
Gets the resolved object ID that this reference ultimately points to, or
null for a broken reference. |
| TargetIdentifier | string |
Gets the raw string that the reference points to (SHA or another reference name).
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|