MCPcopy
hub / github.com/Jguer/yay / MockAUR

Struct MockAUR

pkg/dep/mock/aur.go:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9type GetFunc func(ctx context.Context, query *aur.Query) ([]aur.Pkg, error)
10
11type MockAUR struct {
12 GetFn GetFunc
13}
14
15func (m *MockAUR) Get(ctx context.Context, query *aur.Query) ([]aur.Pkg, error) {
16 if m.GetFn != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected