C# Class GitSharp.Core.Patch.CombinedFileHeader

Inheritance: FileHeader
Mostra file Open project: jagregory/GitSharp Class Usage Examples

Public Methods

Method Description
CombinedFileHeader ( byte b, int offset ) : System.Collections.Generic
GetOldMode ( ) : FileMode

Get the file mode of the first parent.

getOldId ( ) : AbbreviatedObjectId
getOldId ( int nthParent ) : AbbreviatedObjectId
getOldMode ( int nthParent ) : FileMode
getScriptText ( Encoding ocs, Encoding ncs ) : string
newHunkHeader ( int offset ) : GitSharp.Core.Patch.HunkHeader
parseGitHeaders ( int ptr, int end ) : int

Protected Methods

Method Description
ParseIndexLine ( int ptr, int eol ) : void
ParseNewFileMode ( int ptr, int eol ) : void

Private Methods

Method Description
parseDeletedFileMode ( int ptr, int eol ) : void
parseModeLine ( int ptr, int eol ) : void

Method Details

CombinedFileHeader() public method

public CombinedFileHeader ( byte b, int offset ) : System.Collections.Generic
b byte
offset int
return System.Collections.Generic

GetOldMode() public method

Get the file mode of the first parent.
public GetOldMode ( ) : FileMode
return FileMode

ParseIndexLine() protected method

protected ParseIndexLine ( int ptr, int eol ) : void
ptr int
eol int
return void

ParseNewFileMode() protected method

protected ParseNewFileMode ( int ptr, int eol ) : void
ptr int
eol int
return void

getOldId() public method

public getOldId ( ) : AbbreviatedObjectId
return AbbreviatedObjectId

getOldId() public method

public getOldId ( int nthParent ) : AbbreviatedObjectId
nthParent int
return AbbreviatedObjectId

getOldMode() public method

public getOldMode ( int nthParent ) : FileMode
nthParent int
return FileMode

getScriptText() public method

public getScriptText ( Encoding ocs, Encoding ncs ) : string
ocs System.Text.Encoding
ncs System.Text.Encoding
return string

newHunkHeader() public method

public newHunkHeader ( int offset ) : GitSharp.Core.Patch.HunkHeader
offset int
return GitSharp.Core.Patch.HunkHeader

parseGitHeaders() public method

public parseGitHeaders ( int ptr, int end ) : int
ptr int
end int
return int