MCPcopy Index your code
hub / github.com/devaccuracy/ledgerforge / InitConfig

Function InitConfig

config/config.go:252–255  ·  view source on GitHub ↗
(configFile string)

Source from the content-addressed store, hash-verified

250}
251
252func InitConfig(configFile string) error {
253 logger()
254 return loadConfigFromFile(configFile)
255}
256
257func Fetch() (*Configuration, error) {
258 config := ConfigStore.Load()

Callers 2

preRunFunction · 0.92
TestInitConfigFunction · 0.85

Calls 2

loggerFunction · 0.85
loadConfigFromFileFunction · 0.85

Tested by 1

TestInitConfigFunction · 0.68