C# 클래스 GitSharp.Core.Transport.RemoteConfig

A remembered remote repository, including URLs and RefSpecs. A remote configuration remembers one or more URLs for a frequently accessed remote repository as well as zero or more fetch and push specifications describing how refs should be transferred between this repository and the remote repository.
파일 보기 프로젝트 열기: jagregory/GitSharp 1 사용 예제들

공개 메소드들

메소드 설명
AddFetchRefSpec ( RefSpec s ) : bool
AddPushRefSpec ( RefSpec s ) : bool
AddPushURI ( URIish toAdd ) : bool
AddURI ( URIish toAdd ) : bool
GetAllRemoteConfigs ( RepositoryConfig rc ) : List

Parse all remote blocks in an existing configuration file, looking for remotes configuration.

RemoteConfig ( Config rc, string remoteName ) : System
RemoveFetchRefSpec ( RefSpec s ) : bool
RemovePushRefSpec ( RefSpec s ) : bool
RemovePushURI ( URIish toRemove ) : bool
RemoveURI ( URIish toRemove ) : bool
SetFetchRefSpecs ( List specs ) : void
SetPushRefSpecs ( List specs ) : void
SetTagOpt ( TagOpt option ) : void
Update ( Config rc ) : void

비공개 메소드들

메소드 설명
Set ( Config rc, string key, bool currentValue, bool defaultValue ) : void
Set ( Config rc, string key, int currentValue, IEquatable defaultValue ) : void
Set ( Config rc, string key, string currentValue, IEquatable defaultValue ) : void
Unset ( Config rc, string key ) : void

메소드 상세

AddFetchRefSpec() 공개 메소드

public AddFetchRefSpec ( RefSpec s ) : bool
s RefSpec
리턴 bool

AddPushRefSpec() 공개 메소드

public AddPushRefSpec ( RefSpec s ) : bool
s RefSpec
리턴 bool

AddPushURI() 공개 메소드

public AddPushURI ( URIish toAdd ) : bool
toAdd URIish
리턴 bool

AddURI() 공개 메소드

public AddURI ( URIish toAdd ) : bool
toAdd URIish
리턴 bool

GetAllRemoteConfigs() 공개 정적인 메소드

Parse all remote blocks in an existing configuration file, looking for remotes configuration.
public static GetAllRemoteConfigs ( RepositoryConfig rc ) : List
rc RepositoryConfig /// The existing configuration to get the remote settings from. /// The configuration must already be loaded into memory. ///
리턴 List

RemoteConfig() 공개 메소드

public RemoteConfig ( Config rc, string remoteName ) : System
rc Config
remoteName string
리턴 System

RemoveFetchRefSpec() 공개 메소드

public RemoveFetchRefSpec ( RefSpec s ) : bool
s RefSpec
리턴 bool

RemovePushRefSpec() 공개 메소드

public RemovePushRefSpec ( RefSpec s ) : bool
s RefSpec
리턴 bool

RemovePushURI() 공개 메소드

public RemovePushURI ( URIish toRemove ) : bool
toRemove URIish
리턴 bool

RemoveURI() 공개 메소드

public RemoveURI ( URIish toRemove ) : bool
toRemove URIish
리턴 bool

SetFetchRefSpecs() 공개 메소드

public SetFetchRefSpecs ( List specs ) : void
specs List
리턴 void

SetPushRefSpecs() 공개 메소드

public SetPushRefSpecs ( List specs ) : void
specs List
리턴 void

SetTagOpt() 공개 메소드

public SetTagOpt ( TagOpt option ) : void
option TagOpt
리턴 void

Update() 공개 메소드

public Update ( Config rc ) : void
rc Config
리턴 void