MCPcopy Create free account
hub / github.com/corestoreio/pkg / WithLoadFieldMetaYAML

Function WithLoadFieldMetaYAML

config/storage/yaml.go:73–135  ·  view source on GitHub ↗

WithLoadFieldMetaYAML reads the immutable default values and permissions from a YAML file and applies it to the config.Service. The data gets loaded only once. "testdata/example_field_meta.yaml" provides an example YAML file. WithLoadFieldMetaYAML has been optimized for stream operation and does not

(opts ...option)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

DecodeMethod · 0.95
sendFMFunction · 0.85
NewDecoderMethod · 0.65
NewMethod · 0.65

Tested by

no test coverage detected