| 29 | } |
| 30 | |
| 31 | type SystemInfo interface { |
| 32 | GetCpuArchitecture() (string, error) |
| 33 | GetArchitecture() (string, error) |
| 34 | GetOSId() (string, error) |
| 35 | } |
| 36 | |
| 37 | func CreateRequest(p PackageManager, s SystemInfo) (*Request, error) { |
| 38 | packages, err := p.GetInstalledPackages() |
no outgoing calls
no test coverage detected