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

Function WithLoadFromYAML

store/options_import.go:46–161  ·  view source on GitHub ↗

WithLoadFromYAML loads a file into memory. Supports two different version of the yaml file. See testdata directory "store-structureX.yaml".

(pathToFile string, yo YAMLOptions)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

DecodeMethod · 0.95
AppendMethod · 0.95
AppendMethod · 0.95
AppendMethod · 0.95
WithWebsitesFunction · 0.85
WithGroupsFunction · 0.85
WithStoresFunction · 0.85
LockMethod · 0.80
NewMethod · 0.65
CloseMethod · 0.65
NewDecoderMethod · 0.65
ToBoolMethod · 0.65

Tested by

no test coverage detected