C# Класс 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.
Наследование: SshTransport, IPackTransport, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void
TransportGitSsh ( Repository local, URIish uri ) : System
canHandle ( URIish uri ) : bool
cleanNotFound ( NoRemoteRepositoryException nf ) : NoRemoteRepositoryException
openFetch ( ) : IFetchConnection
openPush ( ) : IPushConnection

Приватные методы

Метод Описание
CreateErrorStream ( ) : Stream
Exec ( string exe ) : ChannelExec
Sq ( StringBuilder cmd, string val ) : void
SqAlways ( StringBuilder cmd, string val ) : void
SqMinimal ( StringBuilder cmd, string val ) : void

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

TransportGitSsh() публичный Метод

public TransportGitSsh ( Repository local, URIish uri ) : System
local Repository
uri URIish
Результат System

canHandle() публичный статический Метод

public static canHandle ( URIish uri ) : bool
uri URIish
Результат bool

cleanNotFound() публичный Метод

public cleanNotFound ( NoRemoteRepositoryException nf ) : NoRemoteRepositoryException
nf GitSharp.Core.Exceptions.NoRemoteRepositoryException
Результат GitSharp.Core.Exceptions.NoRemoteRepositoryException

openFetch() публичный Метод

public openFetch ( ) : IFetchConnection
Результат IFetchConnection

openPush() публичный Метод

public openPush ( ) : IPushConnection
Результат IPushConnection