Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitNode ¶
type CommitNode struct { Sha string Parent []*CommitNode }
type CommitNodeGraph ¶
type CommitNodeGraph struct {
// contains filtered or unexported fields
}
func NewCommitNodeGraph ¶
func NewCommitNodeGraph() *CommitNodeGraph
func (*CommitNodeGraph) AddParent ¶
func (cng *CommitNodeGraph) AddParent(commit_sha string, commit_parent_sha string)
AddParent adds node's edge to node.Parent
func (*CommitNodeGraph) CalculateLostSha ¶
func (cng *CommitNodeGraph) CalculateLostSha(source_sha string, target_sha string) ([]string, int, int)
CalculateLostSha calculates commit sha which newCommitNode has but oldCommitNode does not have
func (*CommitNodeGraph) Size ¶
func (cng *CommitNodeGraph) Size() int
Click to show internal directories.
Click to hide internal directories.