gpt_engineer.core.chat_to_files.parse_diff_block

gpt_engineer.core.chat_to_files.parse_diff_block(diff_block: str) dict[source]

Parses a block of diff text into a Diff object.

Args: - diff_block (str): A single block of diff text.

Returns: - dict: A dictionary containing a single Diff object keyed by the post-edit filename.