MCPcopy Create free account
hub / github.com/libgit2/pygit2 / RevSpecFlag

Class RevSpecFlag

pygit2/enums.py:1168–1181  ·  view source on GitHub ↗

Revparse flags. These indicate the intended behavior of the spec passed to Repository.revparse()

Source from the content-addressed store, hash-verified

1166
1167
1168class RevSpecFlag(IntFlag):
1169 """
1170 Revparse flags.
1171 These indicate the intended behavior of the spec passed to Repository.revparse()
1172 """
1173
1174 SINGLE = _pygit2.GIT_REVSPEC_SINGLE
1175 'The spec targeted a single object.'
1176
1177 RANGE = _pygit2.GIT_REVSPEC_RANGE
1178 'The spec targeted a range of commits.'
1179
1180 MERGE_BASE = _pygit2.GIT_REVSPEC_MERGE_BASE
1181 "The spec used the '...' operator, which invokes special semantics."
1182
1183
1184class SortMode(IntFlag):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…