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

Function getConfigDir

internal/config/files.go:106–108  ·  view source on GitHub ↗

getConfigDir returns the appropriate config directory path for the current platform.

()

Source from the content-addressed store, hash-verified

104
105// getConfigDir returns the appropriate config directory path for the current platform.
106func getConfigDir() string {
107 return getConfigDirForOS(runtime.GOOS)
108}
109
110func getConfigDirForOS(goos string) string {
111 const windowsOS = "windows"

Callers 3

GetDefaultConfigPathFunction · 0.85
CreateDefaultConfigFileFunction · 0.85
getAgeDirFunction · 0.85

Calls 1

getConfigDirForOSFunction · 0.85

Tested by

no test coverage detected