C# Class GitSharp.Core.Patch.Patch

Exibir arquivo Open project: stschake/GitSharp Class Usage Examples

Public Properties

Property Type Description
SigFooter byte[]

Public Methods

Method Description
Patch ( ) : System

Create an empty patch.

addError ( FormatError err ) : void
addFile ( FileHeader fh ) : void
error ( byte buf, int ptr, string msg ) : void
getErrors ( ) : List
getFiles ( ) : List
parse ( Stream iStream ) : void
parse ( byte buf, int ptr, int end ) : void
warn ( byte buf, int ptr, string msg ) : void

Private Methods

Method Description
MatchAny ( byte buf, int c, IEnumerable srcs ) : bool
ParseDiffCombined ( ICollection hdr, byte buf, int start, int end ) : int
ParseDiffGit ( byte buf, int start, int end ) : int
ParseFile ( byte buf, int c, int end ) : int
ParseGitBinary ( FileHeader fh, int c, int end ) : int
ParseHunks ( FileHeader fh, int c, int end ) : int
ParseTraditionalPatch ( byte buf, int start, int end ) : int
ReadFully ( Stream stream ) : byte[]
SkipFile ( byte buf, int ptr ) : int

Method Details

Patch() public method

Create an empty patch.
public Patch ( ) : System
return System

addError() public method

public addError ( FormatError err ) : void
err FormatError
return void

addFile() public method

public addFile ( FileHeader fh ) : void
fh FileHeader
return void

error() public method

public error ( byte buf, int ptr, string msg ) : void
buf byte
ptr int
msg string
return void

getErrors() public method

public getErrors ( ) : List
return List

getFiles() public method

public getFiles ( ) : List
return List

parse() public method

public parse ( Stream iStream ) : void
iStream Stream
return void

parse() public method

public parse ( byte buf, int ptr, int end ) : void
buf byte
ptr int
end int
return void

warn() public method

public warn ( byte buf, int ptr, string msg ) : void
buf byte
ptr int
msg string
return void

Property Details

SigFooter public_oe static_oe property

public static byte[] SigFooter
return byte[]