Instead of fetching all available packages from dnf-json and then searching the results this uses SearchMetadata when a package name or glob is passed to the API. It only uses FetchMetadata when fetching the full list of packages. This also fixes a bug where the error response to a projects/info request used the id of 'ModulesError'. It now uses 'ProjectsError'. |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| compose.go | ||
| compose_test.go | ||
| json.go | ||
| responses_test.go | ||
| upload.go | ||
| util.go | ||