Class GitRepository
Represents a source code repository
Inheritance
System.Object
GitRepository
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class GitRepository : object
Constructors
GitRepository(String, String, String)
Declaration
public GitRepository(string name, string branchName, string rootPath)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
branchName |
|
System.String |
rootPath |
|
Properties
BranchName
Declaration
public string BranchName { get; set; }
Property Value
Type |
Description |
System.String |
|
DependingRepositories
Declaration
public List<GitRepository> DependingRepositories { get; set; }
Property Value
IgnoredDirectories
Declaration
public List<string> IgnoredDirectories { get; set; }
Property Value
Type |
Description |
List<System.String> |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
RootPath
Root path of the repository which contains .git folder
Declaration
public string RootPath { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
FindRepositoryOf(String)
Declaration
public string FindRepositoryOf(string csProjFilePath)
Parameters
Type |
Name |
Description |
System.String |
csProjFilePath |
|
Returns
Type |
Description |
System.String |
|
GetUniqueName(String)
Declaration
public string GetUniqueName(string prefix)
Parameters
Type |
Name |
Description |
System.String |
prefix |
|
Returns
Type |
Description |
System.String |
|
Extension Methods