def get_last_header_before_line(context, filediff, interfilediff, target_line):
 f = get_file_from_filediff(context, filediff, interfilediff)
 return _get_last_header_in_chunks_before_line(f[u'chunks'], target_line)

def get_last_header_before_line ( context , filediff , interfilediff , target_line ) : f = get_file_from_filediff ( context , filediff , interfilediff ) return _get_last_header_in_chunks_before_line ( f [ u'chunks' ] , target_line )
get the last header that occurs before the given line .