public void parse(Stream iStream)
{
byte[] buf = ReadFully(iStream);
parse(buf, 0, buf.Length);
}
Patch::parse ( byte buf, int ptr, int end ) : void |
protected static GitSharp.Core.Patch.Patch ParseTestPatchFile(string patchFile) { try { using (var inStream = new FileStream(patchFile, System.IO.FileMode.Open)) { var p = new GitSharp.Core.Patch.Patch(); p.parse(inStream); return p; } } catch(IOException) { Assert.Fail("No " + patchFile + " test vector"); return null; // Never happens } }