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

Connects two Git repositories together and copies objects between them. A transport can be used for either fetching (copying objects into the caller's repository from the remote repository) or pushing (copying objects into the remote repository from the caller's repository). Each transport implementation is responsible for the details associated with establishing the network connection(s) necessary for the copy, as well as actually shuffling data back and forth. Transport instances and the connections they Create are not thread-safe. Callers must ensure a transport is accessed by only one thread at a time.
상속: IDisposable
파일 보기 프로젝트 열기: jagregory/GitSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
REFSPEC_PUSH_ALL RefSpec
REFSPEC_TAGS RefSpec

공개 메소드들

메소드 설명
ApplyConfig ( RemoteConfig cfg ) : void
Dispose ( ) : void
Open ( Repository local, RemoteConfig cfg ) : Transport

Support for Transport over HTTP and Git (Anon+SSH)

Open ( Repository local, URIish remote ) : Transport

Support for Transport over HTTP and Git (Anon+SSH)

Open ( Repository local, string remote ) : Transport
close ( ) : void
fetch ( ProgressMonitor monitor, List toFetch ) : GitSharp.Core.Transport.FetchResult
findRemoteRefUpdatesFor ( List specs ) : ICollection
findRemoteRefUpdatesFor ( Repository db, List specs, List fetchSpecs ) : ICollection
openAll ( Repository local, RemoteConfig cfg ) : List
openAll ( Repository local, string remote ) : List
openFetch ( ) : IFetchConnection
openPush ( ) : IPushConnection
push ( ProgressMonitor monitor, ICollection toPush ) : PushResult

보호된 메소드들

메소드 설명
Transport ( Repository local, URIish uri ) : System

비공개 메소드들

메소드 설명
ExpandPushWildcardsFor ( Repository db, IEnumerable specs ) : ICollection
FindTrackingRefName ( string remoteName, IEnumerable fetchSpecs ) : string
doesNotExist ( RemoteConfig cfg ) : bool
getURIs ( RemoteConfig cfg, System.Operation op ) : List

메소드 상세

ApplyConfig() 공개 메소드

public ApplyConfig ( RemoteConfig cfg ) : void
cfg RemoteConfig
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Open() 공개 정적인 메소드

Support for Transport over HTTP and Git (Anon+SSH)
public static Open ( Repository local, RemoteConfig cfg ) : Transport
local Repository
cfg RemoteConfig
리턴 Transport

Open() 공개 정적인 메소드

Support for Transport over HTTP and Git (Anon+SSH)
public static Open ( Repository local, URIish remote ) : Transport
local Repository
remote URIish
리턴 Transport

Open() 공개 정적인 메소드

public static Open ( Repository local, string remote ) : Transport
local Repository
remote string
리턴 Transport

Transport() 보호된 메소드

protected Transport ( Repository local, URIish uri ) : System
local Repository
uri URIish
리턴 System

close() 공개 추상적인 메소드

public abstract close ( ) : void
리턴 void

fetch() 공개 메소드

public fetch ( ProgressMonitor monitor, List toFetch ) : GitSharp.Core.Transport.FetchResult
monitor ProgressMonitor
toFetch List
리턴 GitSharp.Core.Transport.FetchResult

findRemoteRefUpdatesFor() 공개 메소드

public findRemoteRefUpdatesFor ( List specs ) : ICollection
specs List
리턴 ICollection

findRemoteRefUpdatesFor() 공개 정적인 메소드

public static findRemoteRefUpdatesFor ( Repository db, List specs, List fetchSpecs ) : ICollection
db Repository
specs List
fetchSpecs List
리턴 ICollection

openAll() 공개 정적인 메소드

public static openAll ( Repository local, RemoteConfig cfg ) : List
local Repository
cfg RemoteConfig
리턴 List

openAll() 공개 정적인 메소드

public static openAll ( Repository local, string remote ) : List
local Repository
remote string
리턴 List

openFetch() 공개 추상적인 메소드

public abstract openFetch ( ) : IFetchConnection
리턴 IFetchConnection

openPush() 공개 추상적인 메소드

public abstract openPush ( ) : IPushConnection
리턴 IPushConnection

push() 공개 메소드

public push ( ProgressMonitor monitor, ICollection toPush ) : PushResult
monitor ProgressMonitor
toPush ICollection
리턴 PushResult

프로퍼티 상세

REFSPEC_PUSH_ALL 공개적으로 정적으로 프로퍼티

public static RefSpec,GitSharp.Core.Transport REFSPEC_PUSH_ALL
리턴 RefSpec

REFSPEC_TAGS 공개적으로 정적으로 프로퍼티

public static RefSpec,GitSharp.Core.Transport REFSPEC_TAGS
리턴 RefSpec