This commit is contained in:
mrT23
2023-11-08 14:17:59 +02:00
parent c5bc4b44ff
commit 69b68b78f5
4 changed files with 11 additions and 6 deletions

View File

@ -116,7 +116,7 @@ def omit_deletion_hunks(patch_lines) -> str:
def handle_patch_deletions(patch: str, original_file_content_str: str,
new_file_content_str: str, file_name: str, edit_type: EDIT_TYPE = EDIT_TYPE.MODIFIED) -> str:
new_file_content_str: str, file_name: str, edit_type: EDIT_TYPE = EDIT_TYPE.UNKNOWN) -> str:
"""
Handle entire file or deletion patches.