NewGroup views deps as ordered dependencies, and the returned Group will only install them in the order specified here.
(deps []Dependency, desc string, errMsg string)
| 31 | // NewGroup views deps as ordered dependencies, |
| 32 | // and the returned Group will only install them in the order specified here. |
| 33 | func NewGroup(deps []Dependency, desc string, errMsg string) *Group { |
| 34 | return &Group{ |
| 35 | deps: deps, |
| 36 | desc: desc, |
| 37 | errMsg: errMsg, |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | // installOptional sequentially installs all dependencies in a Group, collecting all |
| 42 | // errors and returning one combined error. |
no outgoing calls