What type of change is described by a DiffDelta? `RENAMED` and `COPIED` will only show up if you run `find_similar()` on the Diff object. `TYPECHANGE` only shows up given `INCLUDE_TYPECHANGE` in the DiffOption option flags (otherwise type changes will be split into ADDED /
| 300 | |
| 301 | |
| 302 | class DeltaStatus(IntEnum): |
| 303 | """ |
| 304 | What type of change is described by a DiffDelta? |
| 305 | |
| 306 | `RENAMED` and `COPIED` will only show up if you run |
| 307 | `find_similar()` on the Diff object. |
| 308 | |
| 309 | `TYPECHANGE` only shows up given `INCLUDE_TYPECHANGE` |
| 310 | in the DiffOption option flags (otherwise type changes |
| 311 | will be split into ADDED / DELETED pairs). |
| 312 | """ |
| 313 | |
| 314 | UNMODIFIED = _pygit2.GIT_DELTA_UNMODIFIED |
| 315 | 'no changes' |
| 316 | |
| 317 | ADDED = _pygit2.GIT_DELTA_ADDED |
| 318 | 'entry does not exist in old version' |
| 319 | |
| 320 | DELETED = _pygit2.GIT_DELTA_DELETED |
| 321 | 'entry does not exist in new version' |
| 322 | |
| 323 | MODIFIED = _pygit2.GIT_DELTA_MODIFIED |
| 324 | 'entry content changed between old and new' |
| 325 | |
| 326 | RENAMED = _pygit2.GIT_DELTA_RENAMED |
| 327 | 'entry was renamed between old and new' |
| 328 | |
| 329 | COPIED = _pygit2.GIT_DELTA_COPIED |
| 330 | 'entry was copied from another old entry' |
| 331 | |
| 332 | IGNORED = _pygit2.GIT_DELTA_IGNORED |
| 333 | 'entry is ignored item in workdir' |
| 334 | |
| 335 | UNTRACKED = _pygit2.GIT_DELTA_UNTRACKED |
| 336 | 'entry is untracked item in workdir' |
| 337 | |
| 338 | TYPECHANGE = _pygit2.GIT_DELTA_TYPECHANGE |
| 339 | 'type of entry changed between old and new' |
| 340 | |
| 341 | UNREADABLE = _pygit2.GIT_DELTA_UNREADABLE |
| 342 | 'entry is unreadable' |
| 343 | |
| 344 | CONFLICTED = _pygit2.GIT_DELTA_CONFLICTED |
| 345 | 'entry in the index is conflicted' |
| 346 | |
| 347 | |
| 348 | class DescribeStrategy(IntEnum): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…