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

Method WithUseStorageLevel

config/options.go:92–95  ·  view source on GitHub ↗

WithUseStorageLevel executes the current Load function in storage level one. Argument level can either be 1 or 2. Any other integer value falls back to 2, for now.

(level int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

WithLoadFromDBFunction · 0.80
TestWithLoadStringsFunction · 0.80
WithLoadStringsFunction · 0.80
WithLoadYAMLFunction · 0.80
WithLoadJSONFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestWithLoadStringsFunction · 0.64