(partMap map[int]int)
| 435 | } |
| 436 | |
| 437 | func incompletePartsFromMap(partMap map[int]int) []int { |
| 438 | var incompleteParts []int |
| 439 | for partIdx, size := range partMap { |
| 440 | if size != int(partDataSize) { |
| 441 | incompleteParts = append(incompleteParts, partIdx) |
| 442 | } |
| 443 | } |
| 444 | return incompleteParts |
| 445 | } |
| 446 | |
| 447 | func getPartIdxsFromMap(partMap map[int]int) []int { |
| 448 | var partIdxs []int |
no outgoing calls
no test coverage detected