C# Class GitSharp.Core.Patch.Patch

Afficher le fichier Open project: stschake/GitSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
SigFooter byte[]

Méthodes publiques

Méthode 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

Méthode 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 méthode

Create an empty patch.
public Patch ( ) : System
Résultat System

addError() public méthode

public addError ( FormatError err ) : void
err FormatError
Résultat void

addFile() public méthode

public addFile ( FileHeader fh ) : void
fh FileHeader
Résultat void

error() public méthode

public error ( byte buf, int ptr, string msg ) : void
buf byte
ptr int
msg string
Résultat void

getErrors() public méthode

public getErrors ( ) : List
Résultat List

getFiles() public méthode

public getFiles ( ) : List
Résultat List

parse() public méthode

public parse ( Stream iStream ) : void
iStream Stream
Résultat void

parse() public méthode

public parse ( byte buf, int ptr, int end ) : void
buf byte
ptr int
end int
Résultat void

warn() public méthode

public warn ( byte buf, int ptr, string msg ) : void
buf byte
ptr int
msg string
Résultat void

Property Details

SigFooter public_oe static_oe property

public static byte[] SigFooter
Résultat byte[]