CommitHeader

class dsviper.CommitHeader

Bases: object

A class used to represent the header of a commit.

Note: Not directly instantiable.

commit_id() ValueCommitId

Return the commit_id of the commit.

commit_type() str

Return the type (‘Mutations’, ‘Disable’, ‘Enable’ or ‘Merge’).

label() str

Return the label.

parent_commit_id() ValueCommitId

Return the commit_id of the parent commit.

target_commit_id() ValueCommitId

Return the commit_id of the target commit.

timestamp() float

Return the timestamp.