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

Function FindDefaultConfigPath

internal/config/files.go:79–81  ·  view source on GitHub ↗

FindDefaultConfigPath finds the default configuration file path.

()

Source from the content-addressed store, hash-verified

77
78// FindDefaultConfigPath finds the default configuration file path.
79func FindDefaultConfigPath() (string, bool) {
80 return findDefaultConfigPathForOS(runtime.GOOS)
81}
82
83func findDefaultConfigPathForOS(goos string) (string, bool) {
84 const windowsOS = "windows"

Callers 4

ResolveConfigPathFunction · 0.92

Calls 1

Tested by

no test coverage detected