(chunks []Chunk, ctxLines int)
| 184 | } |
| 185 | |
| 186 | func newHunksGenerator(chunks []Chunk, ctxLines int) *hunksGenerator { |
| 187 | return &hunksGenerator{ |
| 188 | chunks: chunks, |
| 189 | ctxLines: ctxLines, |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | func (g *hunksGenerator) Generate() []*hunk { |
| 194 | for i, chunk := range g.chunks { |
no outgoing calls
no test coverage detected
searching dependent graphs…