MCPcopy Create free account
hub / github.com/conforma/cli / GetPolicy

Method GetPolicy

internal/policy/source/source_test.go:519–522  ·  view source on GitHub ↗
(ctx context.Context, dest string, msgs bool)

Source from the content-addressed store, hash-verified

517}
518
519func (m mockPolicySource) GetPolicy(ctx context.Context, dest string, msgs bool) (string, error) {
520 args := m.Called(ctx, dest, msgs)
521 return args.String(0), args.Error(1)
522}
523
524func (m mockPolicySource) PolicyUrl() string {
525 args := m.Called()

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected