C# Class GitIStage.Patching

Exibir arquivo Open project: terrajobst/git-istage Class Usage Examples

Public Methods

Method Description
ApplyPatch ( string pathToGit, string workingDirectory, string patch, PatchDirection direction ) : void
ComputePatch ( PatchDocument document, IEnumerable lineIndexes, PatchDirection direction ) : string

Method Details

ApplyPatch() public static method

public static ApplyPatch ( string pathToGit, string workingDirectory, string patch, PatchDirection direction ) : void
pathToGit string
workingDirectory string
patch string
direction PatchDirection
return void

ComputePatch() public static method

public static ComputePatch ( PatchDocument document, IEnumerable lineIndexes, PatchDirection direction ) : string
document PatchDocument
lineIndexes IEnumerable
direction PatchDirection
return string