MCPcopy Index your code
hub / github.com/github/git-sizer / addParent

Method addParent

sizes/sizes.go:87–89  ·  view source on GitHub ↗
(s2 CommitSize)

Source from the content-addressed store, hash-verified

85}
86
87func (s *CommitSize) addParent(s2 CommitSize) {
88 s.MaxAncestorDepth.AdjustMaxIfNecessary(s2.MaxAncestorDepth)
89}
90
91func (s *CommitSize) addTree(s2 TreeSize) {
92}

Callers 1

RegisterCommitMethod · 0.95

Calls 1

AdjustMaxIfNecessaryMethod · 0.45

Tested by

no test coverage detected