| 42 | } |
| 43 | |
| 44 | type skillRegistrySourceStub struct { |
| 45 | name string |
| 46 | infoFn func(context.Context, string) (*registrypkg.Detail, error) |
| 47 | downloadFn func(context.Context, string, registrypkg.DownloadOpts) (*registrypkg.DownloadResult, error) |
| 48 | searchFn func(context.Context, string, registrypkg.SearchOpts) ([]registrypkg.Listing, error) |
| 49 | closeFn func() error |
| 50 | downloadHits int |
| 51 | } |
| 52 | |
| 53 | type errorReadCloser struct { |
| 54 | io.Reader |
nothing calls this directly
no outgoing calls
no test coverage detected