MCPcopy Create free account
hub / github.com/chainreactors/spray / LoadEmbeddedConfig

Function LoadEmbeddedConfig

pkg/resource_provider.go:56–58  ·  view source on GitHub ↗

LoadEmbeddedConfig loads the standalone embedded config without consulting an installed external provider.

(typ string)

Source from the content-addressed store, hash-verified

54// LoadEmbeddedConfig loads the standalone embedded config without consulting
55// an installed external provider.
56func LoadEmbeddedConfig(typ string) []byte {
57 return loadEmbeddedConfig(typ)
58}
59
60// LoadConfig loads config bytes from the external provider first, then from
61// the embedded templates kept for standalone spray compatibility.

Callers 1

mustLoadTemplatesFunction · 0.85

Calls 1

loadEmbeddedConfigFunction · 0.70

Tested by 1

mustLoadTemplatesFunction · 0.68