(testrepo: Repository)
| 177 | |
| 178 | |
| 179 | def test_diff_blob_to_buffer(testrepo: Repository) -> None: |
| 180 | blob = testrepo[BLOB_SHA] |
| 181 | assert isinstance(blob, pygit2.Blob) |
| 182 | patch = blob.diff_to_buffer('hello world') |
| 183 | assert len(patch.hunks) == 1 |
| 184 | |
| 185 | |
| 186 | def test_diff_blob_to_buffer_patch_patch(testrepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…