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

Function InlineData

internal/policy/source/source.go:237–239  ·  view source on GitHub ↗
(source []byte)

Source from the content-addressed store, hash-verified

235}
236
237func InlineData(source []byte) PolicySource {
238 return inlineData{source}
239}
240
241func (s inlineData) GetPolicy(ctx context.Context, workDir string, showMsg bool) (string, error) {
242 dl := func(source string, dest string) (metadata.Metadata, error) {

Callers 5

PolicySourcesFromFunction · 0.85
TestInlineDataSourceFunction · 0.85
TestInlineDataSubdirFunction · 0.85
TestInlineDataGetPolicyFunction · 0.85
TestInlineDataTypeFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestInlineDataSourceFunction · 0.68
TestInlineDataSubdirFunction · 0.68
TestInlineDataGetPolicyFunction · 0.68
TestInlineDataTypeFunction · 0.68