Record that the object has a link as a direct descendant.
(filename string)
| 67 | |
| 68 | // Record that the object has a link as a direct descendant. |
| 69 | func (s *TreeSize) addLink(filename string) { |
| 70 | s.MaxPathDepth.AdjustMaxIfNecessary(1) |
| 71 | s.MaxPathLength.AdjustMaxIfNecessary(counts.NewCount32(uint64(len(filename)))) |
| 72 | s.ExpandedLinkCount.Increment(1) |
| 73 | } |
| 74 | |
| 75 | // Record that the object has a submodule as a direct descendant. |
| 76 | func (s *TreeSize) addSubmodule(filename string) { |
no test coverage detected