This returns the raw size of the patch data. This only includes the
actual data from the lines of the diff, not the file or hunk headers.
If you pass include_context as true (non-zero), this will be the size
of all of the diff output; if you pass it as false (zero), this will
only include the actual changed lines (as if context_lines was 0).
@param patch A git_patch representing changes to one file
@param include_context Include context lines in size if non-zero
@param include_hunk_headers Include hunk header lines if non-zero
@param include_file_headers Include file header lines if non-zero
@return The number of bytes of data
Look up size of patch diff data in bytes
This returns the raw size of the patch data. This only includes the actual data from the lines of the diff, not the file or hunk headers.
If you pass include_context as true (non-zero), this will be the size of all of the diff output; if you pass it as false (zero), this will only include the actual changed lines (as if context_lines was 0).
@param patch A git_patch representing changes to one file @param include_context Include context lines in size if non-zero @param include_hunk_headers Include hunk header lines if non-zero @param include_file_headers Include file header lines if non-zero @return The number of bytes of data