MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / GetDefaultConfigPath

Function GetDefaultConfigPath

internal/config/files.go:23–25  ·  view source on GitHub ↗

GetDefaultConfigPath returns the default configuration file path.

()

Source from the content-addressed store, hash-verified

21
22// GetDefaultConfigPath returns the default configuration file path.
23func GetDefaultConfigPath() string {
24 return filepath.Join(getConfigDir(), "config.yml")
25}
26
27// CreateDefaultConfigFile creates a default configuration file and returns its path.
28func CreateDefaultConfigFile() (string, error) {

Calls 1

getConfigDirFunction · 0.85