We don't have to go via a map, and also don't have to rely on the ID's in the passed in repos are the same, by instead relying on RepoID being the offset into the passed in repos array, as set in the previous patch. Signed-off-by: Tom Gundersen <teg@jklm.no> |
||
|---|---|---|
| .. | ||
| repository.go | ||