C# 클래스 Kudu.TestHarness.Git

파일 보기 프로젝트 열기: projectkudu/kudu 1 사용 예제들

공개 메소드들

메소드 설명
Add ( string repositoryPath, string path ) : void
CheckOut ( string repositoryPath, string branchName ) : void
Clone ( string repositoryName, string source = null, string>.IDictionary environments = null, bool noCache = false ) : Kudu.TestHarness.TestRepository
CloneToLocal ( string cloneUri, string path = null ) : string
Commit ( string repositoryPath, string message ) : void
GetRepositoryPath ( string repositoryPath ) : string
GitDeploy ( Kudu.Client.Deployment.RemoteDeploymentManager deploymentManager, string kuduServiceUrl, string localRepoPath, string remoteRepoUrl, string localBranchName, string remoteBranchName ) : Kudu.TestHarness.GitDeploymentResult
GitDeploy ( string kuduServiceUrl, string localRepoPath, string remoteRepoUrl, string localBranchName, string remoteBranchName ) : Kudu.TestHarness.GitDeploymentResult
Id ( string repositoryPath ) : string
Init ( string repositoryPath ) : Kudu.TestHarness.TestRepository
Push ( string repositoryPath, string url, string localBranchName = "master", string remoteBranchName = "master" ) : string
Reset ( string repositoryPath, string commit = "HEAD^" ) : void
Revert ( string repositoryPath, string commit = "HEAD" ) : void

비공개 메소드들

메소드 설명
CloneInternal ( string repositoryName, string source, string commitId, string>.IDictionary environments, bool noCache ) : Kudu.TestHarness.TestRepository
CreateCachedRepo ( string source, string commitId, string>.IDictionary environments ) : string
GetGitExe ( string repositoryPath, string>.IDictionary environments = null ) : Kudu.Core.Infrastructure.Executable
GetRepoNamePerContext ( Kudu.TestHarness.TestContext context, string repoName ) : string
GitExecute ( Kudu.Core.Infrastructure.Executable gitExe, string commandFormat ) : string>.Tuple
IsGitRepo ( string cachedPath ) : bool

메소드 상세

Add() 공개 정적인 메소드

public static Add ( string repositoryPath, string path ) : void
repositoryPath string
path string
리턴 void

CheckOut() 공개 정적인 메소드

public static CheckOut ( string repositoryPath, string branchName ) : void
repositoryPath string
branchName string
리턴 void

Clone() 공개 정적인 메소드

public static Clone ( string repositoryName, string source = null, string>.IDictionary environments = null, bool noCache = false ) : Kudu.TestHarness.TestRepository
repositoryName string
source string
environments string>.IDictionary
noCache bool
리턴 Kudu.TestHarness.TestRepository

CloneToLocal() 공개 정적인 메소드

public static CloneToLocal ( string cloneUri, string path = null ) : string
cloneUri string
path string
리턴 string

Commit() 공개 정적인 메소드

public static Commit ( string repositoryPath, string message ) : void
repositoryPath string
message string
리턴 void

GetRepositoryPath() 공개 정적인 메소드

public static GetRepositoryPath ( string repositoryPath ) : string
repositoryPath string
리턴 string

GitDeploy() 공개 정적인 메소드

public static GitDeploy ( Kudu.Client.Deployment.RemoteDeploymentManager deploymentManager, string kuduServiceUrl, string localRepoPath, string remoteRepoUrl, string localBranchName, string remoteBranchName ) : Kudu.TestHarness.GitDeploymentResult
deploymentManager Kudu.Client.Deployment.RemoteDeploymentManager
kuduServiceUrl string
localRepoPath string
remoteRepoUrl string
localBranchName string
remoteBranchName string
리턴 Kudu.TestHarness.GitDeploymentResult

GitDeploy() 공개 정적인 메소드

public static GitDeploy ( string kuduServiceUrl, string localRepoPath, string remoteRepoUrl, string localBranchName, string remoteBranchName ) : Kudu.TestHarness.GitDeploymentResult
kuduServiceUrl string
localRepoPath string
remoteRepoUrl string
localBranchName string
remoteBranchName string
리턴 Kudu.TestHarness.GitDeploymentResult

Id() 공개 정적인 메소드

public static Id ( string repositoryPath ) : string
repositoryPath string
리턴 string

Init() 공개 정적인 메소드

public static Init ( string repositoryPath ) : Kudu.TestHarness.TestRepository
repositoryPath string
리턴 Kudu.TestHarness.TestRepository

Push() 공개 정적인 메소드

public static Push ( string repositoryPath, string url, string localBranchName = "master", string remoteBranchName = "master" ) : string
repositoryPath string
url string
localBranchName string
remoteBranchName string
리턴 string

Reset() 공개 정적인 메소드

public static Reset ( string repositoryPath, string commit = "HEAD^" ) : void
repositoryPath string
commit string
리턴 void

Revert() 공개 정적인 메소드

public static Revert ( string repositoryPath, string commit = "HEAD" ) : void
repositoryPath string
commit string
리턴 void