gpt_engineer.core.chat_to_files.parse_hunk_header

gpt_engineer.core.chat_to_files.parse_hunk_header(header_line) Tuple[int, int, int, int][source]

Parses the header of a hunk from a diff.

Args: - header_line (str): The header line of a hunk.

Returns: - tuple: A tuple containing start and length information for pre- and post-edit.