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
显示文件 Open project: jagregory/GitSharp Class Usage Examples

Public Methods

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

Private Methods

Method 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 method

public Dispose ( ) : void
return void

TransportGitSsh() public method

public TransportGitSsh ( Repository local, URIish uri ) : System
local Repository
uri URIish
return System

canHandle() public static method

public static canHandle ( URIish uri ) : bool
uri URIish
return bool

cleanNotFound() public method

public cleanNotFound ( NoRemoteRepositoryException nf ) : NoRemoteRepositoryException
nf GitSharp.Core.Exceptions.NoRemoteRepositoryException
return GitSharp.Core.Exceptions.NoRemoteRepositoryException

openFetch() public method

public openFetch ( ) : IFetchConnection
return IFetchConnection

openPush() public method

public openPush ( ) : IPushConnection
return IPushConnection