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

Method ConfigByScope

net/auth/service_generic.go:149–155  ·  view source on GitHub ↗

ConfigByScope creates a new scoped configuration depending on the Service.useWebsite flag. If useWebsite==true the scoped configuration contains only the website->default scope despite setting a store scope. If an OptionFactory is set the configuration gets loaded from the backend. A nil root config

(websiteID, storeID int64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

configByContextMethod · 0.95

Calls 2

ConfigByScopedGetterMethod · 0.95
ScopedMethod · 0.65

Tested by

no test coverage detected