Possible application locations for patches
| 30 | |
| 31 | |
| 32 | class ApplyLocation(IntEnum): |
| 33 | """Possible application locations for patches""" |
| 34 | |
| 35 | WORKDIR = _pygit2.GIT_APPLY_LOCATION_WORKDIR |
| 36 | """ |
| 37 | Apply the patch to the workdir, leaving the index untouched. |
| 38 | This is the equivalent of `git apply` with no location argument. |
| 39 | """ |
| 40 | |
| 41 | INDEX = _pygit2.GIT_APPLY_LOCATION_INDEX |
| 42 | """ |
| 43 | Apply the patch to the index, leaving the working directory |
| 44 | untouched. This is the equivalent of `git apply --cached`. |
| 45 | """ |
| 46 | |
| 47 | BOTH = _pygit2.GIT_APPLY_LOCATION_BOTH |
| 48 | """ |
| 49 | Apply the patch to both the working directory and the index. |
| 50 | This is the equivalent of `git apply --index`. |
| 51 | """ |
| 52 | |
| 53 | |
| 54 | class AttrCheck(IntFlag): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…