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

Method DefaultStoreID

store/service.go:390–448  ·  view source on GitHub ↗

DefaultStoreID returns the default active store ID depending on the run mode. Error behaviour is mostly of type NotValid.

(runMode scope.TypeID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestWithLoadFromDBFunction · 0.95
StoreIDbyCodeMethod · 0.95

Calls 6

StoreMethod · 0.95
GroupMethod · 0.95
WebsiteMethod · 0.95
UnpackMethod · 0.80
DefaultStoreMethod · 0.80
DefaultMethod · 0.80

Tested by 1

TestWithLoadFromDBFunction · 0.76