Summary
Represents a Git refspec that maps source references to destination references for a remote operation.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Git - Interfaces
graph BT
Type-.->Interface0["IEquatable<IRefSpec>"]
Type-.->Interface1["IComparable<IRefSpec>"]
Type["IRefSpec"]
class Type type-node
Syntax
public interface IRefSpec : IEquatable<IRefSpec>, IComparable<IRefSpec>
Attributes
| Type | Description |
|---|---|
| Nullable |
Properties
| Name | Value | Summary |
|---|---|---|
| Destination | string |
Gets the destination pattern of the refspec.
|
| Direction | RefSpecDirection |
Gets the direction of this refspec (fetch or push).
|
| Source | string |
Gets the source pattern of the refspec.
|
| Specification | string |
Gets the full refspec string (e.g.
+refs/heads/*:refs/remotes/origin/*). |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|