()
| 94 | |
| 95 | |
| 96 | def is_in_merge_conflict() -> bool: |
| 97 | git_dir = get_git_dir('.') |
| 98 | return ( |
| 99 | os.path.exists(os.path.join(git_dir, 'MERGE_MSG')) and |
| 100 | os.path.exists(os.path.join(git_dir, 'MERGE_HEAD')) |
| 101 | ) |
| 102 | |
| 103 | |
| 104 | def parse_merge_msg_for_conflicts(merge_msg: bytes) -> list[str]: |
nothing calls this directly
no test coverage detected