MCPcopy Create free account
hub / github.com/cloudflare/conf / ReadConfigFile

Function ReadConfigFile

conf.go:37–84  ·  view source on GitHub ↗

ReadConfigFile reads an entire config file and return a Config structure that can be used to extract single values.

(file string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestEmptyConfigFunction · 0.85
TestSimpleConfigFunction · 0.85
TestCheckUnreadFunction · 0.85
TestCheckErrorsFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestEmptyConfigFunction · 0.68
TestSimpleConfigFunction · 0.68
TestCheckUnreadFunction · 0.68
TestCheckErrorsFunction · 0.68