MCPcopy Index your code
hub / github.com/larksuite/cli / GetConfigPath

Function GetConfigPath

internal/core/config.go:186–188  ·  view source on GitHub ↗

GetConfigPath returns the config file path for the current workspace.

()

Source from the content-addressed store, hash-verified

184
185// GetConfigPath returns the config file path for the current workspace.
186func GetConfigPath() string {
187 return filepath.Join(GetConfigDir(), "config.json")
188}
189
190// ErrMalformedConfig marks a config-load failure caused by malformed file
191// content (unparseable JSON, structurally empty) rather than a missing or

Callers 6

configInitRunFunction · 0.92
configBindRunFunction · 0.92
configShowRunFunction · 0.92
TestGetConfigPathFunction · 0.85
LoadMultiAppConfigFunction · 0.85
SaveMultiAppConfigFunction · 0.85

Calls 1

GetConfigDirFunction · 0.85

Tested by 1

TestGetConfigPathFunction · 0.68