C# Class Glitter.ObjectFileParser

Exibir arquivo Open project: riezebosch/Glitter Class Usage Examples

Public Methods

Method Description
ExtractReferenceFromHead ( string content ) : string
ReadHeader ( Stream stream ) : ObjectHeader

Private Methods

Method Description
ParseFile ( FileInfo fi ) : GitObject
ReadBody ( Stream s, GitObject go, ObjectHeader header ) : void
ReadCommit ( Stream s, GitObject go ) : void
ReadFile ( Stream s ) : string
ReadFileName ( Stream s ) : string
ReadHash ( Stream s ) : string
ReadHead ( FileInfo fi, Stream s ) : GitObject
ReadInfo ( FileInfo fi, Stream s ) : GitObject
ReadLeadingBytes ( Stream s ) : string
ReadObject ( FileInfo fi, Stream &s ) : GitObject
ReadPack ( FileInfo fi ) : GitObject
ReadPackInfo ( Stream s, GitObject go ) : void
ReadRef ( FileInfo fi, Stream s ) : GitObject
ReadTree ( Stream s, GitObject go, ObjectHeader header ) : void
TryOpenFile ( FileInfo fi, int retries ) : FileStream

Method Details

ExtractReferenceFromHead() public static method

public static ExtractReferenceFromHead ( string content ) : string
content string
return string

ReadHeader() public static method

public static ReadHeader ( Stream stream ) : ObjectHeader
stream Stream
return ObjectHeader