MCPcopy Index your code
hub / github.com/coder/coder / DefaultDir

Function DefaultDir

cli/config/file.go:137–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135}
136
137func DefaultDir() string {
138 configDir := configdir.LocalConfig("coderv2")
139 if dir := os.Getenv("CLIDOCGEN_CONFIG_DIRECTORY"); dir != "" {
140 configDir = dir
141 }
142 return configDir
143}

Callers 3

CommandMethod · 0.92
ensureTokenBackendMethod · 0.92
normalizeGoldenFileFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected