Summary
Represents a Git refspec that maps source references to destination
references for a remote operation.
- 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>
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
ArgumentNullException when
value is
null; otherwise returns the
value.
From
CommonExtensions
|