Summary
Identifies the remote repository and the specific commit or branch to version.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
- Interfaces
-
- IEquatable
<RepositoryInfo>
- IEquatable
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IEquatable<RepositoryInfo>"]
Type["RepositoryInfo"]
class Type type-node
Syntax
public class RepositoryInfo : IEquatable<RepositoryInfo>
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
Properties
| Name | Value | Summary |
|---|---|---|
| ClonePath | string |
Gets or sets the local path to which the repository should be cloned when using dynamic repositories.
|
| CommitId | string |
Gets or sets a specific commit SHA to use instead of the current HEAD.
|
| EqualityContract | Type | |
| TargetBranch | string |
Gets or sets the name of the branch to calculate the version for.
|
| TargetUrl | string |
Gets or sets the URL of the remote repository to clone or fetch from.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Equals |
bool | |
| Equals |
bool | |
| GetHashCode |
int | |
| PrintMembers |
bool | |
| ToString |
string |
Operators
| Name | Value | Summary |
|---|---|---|
| operator != |
bool | |
| operator == |
bool |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|