VcsInfo

class VcsInfo(vcs_name: str, commit_id: str)[source]

Container for vcs information.

Create new instance of VcsInfo(vcs_name, commit_id)

Attributes Summary

commit_id

Alias for field number 1

vcs_name

Alias for field number 0

Methods Summary

count

Return number of occurrences of value.

index

Return first index of value.

Methods Documentation

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.