C# Class GitSharp.Core.Patch.FormatError

Exibir arquivo Open project: jagregory/GitSharp Class Usage Examples

Public Methods

Method Description
FormatError ( byte buffer, int ptr, Severity sev, string msg ) : System
ToString ( ) : string
getBuffer ( ) : byte[]

The byte buffer holding the patch script.

getLineText ( ) : string

Line of the patch script the error appears on.

getMessage ( ) : string

A message describing the error.

getOffset ( ) : int

Byte offset within getBuffer() where the error is

getSeverity ( ) : Severity

The severity of the error.

Method Details

FormatError() public method

public FormatError ( byte buffer, int ptr, Severity sev, string msg ) : System
buffer byte
ptr int
sev Severity
msg string
return System

ToString() public method

public ToString ( ) : string
return string

getBuffer() public method

The byte buffer holding the patch script.
public getBuffer ( ) : byte[]
return byte[]

getLineText() public method

Line of the patch script the error appears on.
public getLineText ( ) : string
return string

getMessage() public method

A message describing the error.
public getMessage ( ) : string
return string

getOffset() public method

Byte offset within getBuffer() where the error is
public getOffset ( ) : int
return int

getSeverity() public method

The severity of the error.
public getSeverity ( ) : Severity
return Severity