Add adds one or more repo entries to a repo file.
(re ...*Entry)
| 57 | |
| 58 | // Add adds one or more repo entries to a repo file. |
| 59 | func (r *File) Add(re ...*Entry) { |
| 60 | r.Repositories = append(r.Repositories, re...) |
| 61 | } |
| 62 | |
| 63 | // Update attempts to replace one or more repo entries in a repo file. If an |
| 64 | // entry with the same name doesn't exist in the repo file it will add it. |
no outgoing calls