(hash plumbing.Hash, commit *Commit)
| 135 | } |
| 136 | |
| 137 | func isParentHash(hash plumbing.Hash, commit *Commit) bool { |
| 138 | for _, h := range commit.ParentHashes { |
| 139 | if h == hash { |
| 140 | return true |
| 141 | } |
| 142 | } |
| 143 | return false |
| 144 | } |
| 145 | |
| 146 | func (c *commitPathIter) ForEach(cb func(*Commit) error) error { |
| 147 | for { |
no outgoing calls
no test coverage detected
searching dependent graphs…