diff-hunk-text

diff-hunk-text is a compiled Lisp function in `diff-mode.el'.

(diff-hunk-text HUNK DESTP CHAR-OFFSET)

Return the literal source text from HUNK as (TEXT . OFFSET).
If DESTP is nil, TEXT is the source, otherwise the destination text.
CHAR-OFFSET is a char-offset in HUNK, and OFFSET is the corresponding
char-offset in TEXT.