Skip to content
Back to top
View this page

# CommitNode

class dsviper.CommitNode

  Bases: `object`

  A class used to represent a node in the commit DAG.

  Note: Not directly instantiable.

  static build(commit_database: CommitDatabase) → CommitNode

    Create and return the DAG of commit.

  children() → list[CommitNode]

    Return the list of childs.

  header() → CommitHeader

    Return the header.