Ggit.BranchEnumerator

Fields

None

Methods

get ()

iterator ()

next ()

ref ()

unref ()

Details

class Ggit.BranchEnumerator

Represents a branch enumerator.

get()
Returns:

the branch ref or None.

Return type:

Ggit.Ref or None

Returns the currently being enumerated branch, or None. Note that the returned Ggit.Ref will be of type Ggit.Branch if the ref represents a local branch.

iterator()
Returns:

a Ggit.BranchEnumerator or None.

Return type:

Ggit.BranchEnumerator or None

Get an iterator for the enumerator.

next()
Returns:

True if there is a next branch, False otherwise.

Return type:

bool

Move the enumerator to the next branch.

ref()
Returns:

self or None

Return type:

Ggit.BranchEnumerator or None

unref()