MCPcopy Create free account
hub / github.com/compozy/agh / skillRegistrySourceStub

Struct skillRegistrySourceStub

internal/cli/skill_test.go:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44type 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
53type errorReadCloser struct {
54 io.Reader

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected