C# Class GitSharp.Core.Transport.TransportGitSsh

Transport through an SSH tunnel. The SSH transport requires the remote side to have Git installed, as the transport logs into the remote system and executes a Git helper program on the remote side to read (or write) the remote repository's files. This transport does not support direct SCP style of copying files, as it assumes there are Git specific smarts on the remote side to perform object enumeration, save file modification and hook execution.
Inheritance: SshTransport, IPackTransport, IDisposable
Afficher le fichier Open project: jagregory/GitSharp Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
TransportGitSsh ( Repository local, URIish uri ) : System
canHandle ( URIish uri ) : bool
cleanNotFound ( NoRemoteRepositoryException nf ) : NoRemoteRepositoryException
openFetch ( ) : IFetchConnection
openPush ( ) : IPushConnection

Private Methods

Méthode Description
CreateErrorStream ( ) : Stream
Exec ( string exe ) : ChannelExec
Sq ( StringBuilder cmd, string val ) : void
SqAlways ( StringBuilder cmd, string val ) : void
SqMinimal ( StringBuilder cmd, string val ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

TransportGitSsh() public méthode

public TransportGitSsh ( Repository local, URIish uri ) : System
local Repository
uri URIish
Résultat System

canHandle() public static méthode

public static canHandle ( URIish uri ) : bool
uri URIish
Résultat bool

cleanNotFound() public méthode

public cleanNotFound ( NoRemoteRepositoryException nf ) : NoRemoteRepositoryException
nf GitSharp.Core.Exceptions.NoRemoteRepositoryException
Résultat GitSharp.Core.Exceptions.NoRemoteRepositoryException

openFetch() public méthode

public openFetch ( ) : IFetchConnection
Résultat IFetchConnection

openPush() public méthode

public openPush ( ) : IPushConnection
Résultat IPushConnection