MCPcopy Create free account
hub / github.com/astercloud/aster / ConfigFile

Function ConfigFile

pkg/config/paths.go:119–121  ·  view source on GitHub ↗

ConfigFile returns the path to the main configuration file.

()

Source from the content-addressed store, hash-verified

117
118// ConfigFile returns the path to the main configuration file.
119func ConfigFile() string {
120 return filepath.Join(ConfigDir(), "config.yaml")
121}
122
123// SessionsDir returns the path to the sessions directory.
124func SessionsDir() string {

Callers 3

ResolveConfigFileFunction · 0.85
TestResolveConfigFileFunction · 0.85

Calls 2

ConfigDirFunction · 0.85
JoinMethod · 0.45

Tested by 1

TestResolveConfigFileFunction · 0.68