C# Class GitSharp.Core.Transport.WalkRemoteObjectDatabase

Transfers object data through a dumb transport. Implementations are responsible for resolving path names relative to the objects/ subdirectory of a single remote Git repository or naked object database and make the content available as a Java input stream for reading during fetch. The actual object traversal logic to determine the names of files to retrieve is handled through the generic, protocol independent WalkFetchConnection.
Inheritance: IDisposable
Mostra file Open project: jagregory/GitSharp Class Usage Examples

Public Properties

Property Type Description
INFO_REFS string

Public Methods

Method Description
Dispose ( ) : void
close ( ) : void
deleteFile ( string path ) : void
deleteRef ( string name ) : void
deleteRefLog ( string name ) : void
getAlternates ( ) : List
getPackNames ( ) : List
getURI ( ) : URIish
open ( string path ) : Stream
openAlternate ( string location ) : WalkRemoteObjectDatabase
openReader ( string path ) : StreamReader
readAlternates ( string listPath ) : List
readPackedRefs ( Ref>.Dictionary avail ) : void
writeFile ( string path, ProgressMonitor monitor, string monitorTask ) : Stream
writeFile ( string path, byte data ) : void
writeInfoPacks ( List packNames ) : void
writeRef ( string name, ObjectId value ) : void

Private Methods

Method Description
readPackedRefsImpl ( Ref>.Dictionary avail, StreamReader sr ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

close() public abstract method

public abstract close ( ) : void
return void

deleteFile() public method

public deleteFile ( string path ) : void
path string
return void

deleteRef() public method

public deleteRef ( string name ) : void
name string
return void

deleteRefLog() public method

public deleteRefLog ( string name ) : void
name string
return void

getAlternates() public abstract method

public abstract getAlternates ( ) : List
return List

getPackNames() public abstract method

public abstract getPackNames ( ) : List
return List

getURI() public abstract method

public abstract getURI ( ) : URIish
return URIish

open() public abstract method

public abstract open ( string path ) : Stream
path string
return Stream

openAlternate() public abstract method

public abstract openAlternate ( string location ) : WalkRemoteObjectDatabase
location string
return WalkRemoteObjectDatabase

openReader() public method

public openReader ( string path ) : StreamReader
path string
return System.IO.StreamReader

readAlternates() public method

public readAlternates ( string listPath ) : List
listPath string
return List

readPackedRefs() public method

public readPackedRefs ( Ref>.Dictionary avail ) : void
avail Ref>.Dictionary
return void

writeFile() public method

public writeFile ( string path, ProgressMonitor monitor, string monitorTask ) : Stream
path string
monitor ProgressMonitor
monitorTask string
return Stream

writeFile() public method

public writeFile ( string path, byte data ) : void
path string
data byte
return void

writeInfoPacks() public method

public writeInfoPacks ( List packNames ) : void
packNames List
return void

writeRef() public method

public writeRef ( string name, ObjectId value ) : void
name string
value ObjectId
return void

Property Details

INFO_REFS public_oe static_oe property

public static string INFO_REFS
return string