Class CombinedHunkHeader


  • public class CombinedHunkHeader
    extends HunkHeader
    Hunk header for a hunk appearing in a "diff --cc" style patch.
    • Method Detail

      • getOldImage

        public HunkHeader.OldImage getOldImage()
        Get information about the old image mentioned in this hunk.
        Overrides:
        getOldImage in class HunkHeader
        Returns:
        information about the old image mentioned in this hunk.
      • getOldImage

        public HunkHeader.OldImage getOldImage​(int nthParent)
        Get the OldImage data related to the nth ancestor
        Parameters:
        nthParent - the ancestor to get the old image data of
        Returns:
        image data of the requested ancestor.