MCPcopy Create free account
hub / github.com/LunaSource/Luna / createSelectedConfigs

Function createSelectedConfigs

config/config.go:225–232  ·  view source on GitHub ↗
(selected []string)

Source from the content-addressed store, hash-verified

223}
224
225func createSelectedConfigs(selected []string) {
226 if contains(selected, "project") {
227 createProjectConfig()
228 }
229 if contains(selected, "global") {
230 createGlobalConfig()
231 }
232}
233
234func createProjectConfig() {
235 path := filepath.Join(".", PROJECT_CONFIG_FILE)

Callers 1

initConfigInteractiveFunction · 0.85

Calls 3

containsFunction · 0.85
createProjectConfigFunction · 0.85
createGlobalConfigFunction · 0.85

Tested by

no test coverage detected