project_release.git.RefPosition
- class project_release.git.RefPosition(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
EnumThe position of a ref in comparison to a base ref.
- __init__(*args, **kwds)
Attributes
If the ref is ahead of the base ref.
If the ref and the base ref are the same.
If the ref is behind of the base ref.
If the ref and the base ref does not share the same history.
- AHEAD = 1
If the ref is ahead of the base ref.
- BEHIND = 3
If the ref is behind of the base ref.
- EQUAL = 2
If the ref and the base ref are the same.
- UNRELATED = 4
If the ref and the base ref does not share the same history.