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: Enum

The position of a ref in comparison to a base ref.

__init__(*args, **kwds)

Attributes

AHEAD

If the ref is ahead of the base ref.

EQUAL

If the ref and the base ref are the same.

BEHIND

If the ref is behind of the base ref.

UNRELATED

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.