Record that the object has a submodule as a direct descendant.
(filename string)
| 74 | |
| 75 | // Record that the object has a submodule as a direct descendant. |
| 76 | func (s *TreeSize) addSubmodule(filename string) { |
| 77 | s.MaxPathDepth.AdjustMaxIfNecessary(1) |
| 78 | s.MaxPathLength.AdjustMaxIfNecessary(counts.NewCount32(uint64(len(filename)))) |
| 79 | s.ExpandedSubmoduleCount.Increment(1) |
| 80 | } |
| 81 | |
| 82 | type CommitSize struct { |
| 83 | // The height of the ancestor graph, including this commit. |
no test coverage detected