Flags to specify the sorting which a revwalk should perform.
| 1182 | |
| 1183 | |
| 1184 | class SortMode(IntFlag): |
| 1185 | """ |
| 1186 | Flags to specify the sorting which a revwalk should perform. |
| 1187 | """ |
| 1188 | |
| 1189 | NONE = _pygit2.GIT_SORT_NONE |
| 1190 | """ |
| 1191 | Sort the output with the same default method from `git`: reverse |
| 1192 | chronological order. This is the default sorting for new walkers. |
| 1193 | """ |
| 1194 | |
| 1195 | TOPOLOGICAL = _pygit2.GIT_SORT_TOPOLOGICAL |
| 1196 | """ |
| 1197 | Sort the repository contents in topological order (no parents before |
| 1198 | all of its children are shown); this sorting mode can be combined |
| 1199 | with TIME sorting to produce `git`'s `--date-order``. |
| 1200 | """ |
| 1201 | |
| 1202 | TIME = _pygit2.GIT_SORT_TIME |
| 1203 | """ |
| 1204 | Sort the repository contents by commit time; this sorting mode can be |
| 1205 | combined with TOPOLOGICAL. |
| 1206 | """ |
| 1207 | |
| 1208 | REVERSE = _pygit2.GIT_SORT_REVERSE |
| 1209 | """ |
| 1210 | Iterate through the repository contents in reverse order; |
| 1211 | this sorting mode can be combined with any of the above. |
| 1212 | """ |
| 1213 | |
| 1214 | |
| 1215 | class StashApplyProgress(IntEnum): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…