MCPcopy Create free account
hub / github.com/codetainerapp/codetainer / detectConfigPath

Function detectConfigPath

config.go:36–55  ·  view source on GitHub ↗

detectConfigPath will return the path to the configuration file. Use either a global path: /etc/codetainer/config.toml Or a local path ~/.codetainer/config.toml

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewConfigFunction · 0.85

Calls 3

fileExistsFunction · 0.85
JoinMethod · 0.45
StatMethod · 0.45

Tested by

no test coverage detected