MCPcopy Create free account
hub / github.com/compozy/agh / resolveOptionalConfigWorkspaceRoot

Function resolveOptionalConfigWorkspaceRoot

internal/cli/config.go:911–916  ·  view source on GitHub ↗
(raw string)

Source from the content-addressed store, hash-verified

909}
910
911func resolveOptionalConfigWorkspaceRoot(raw string) (string, error) {
912 if strings.TrimSpace(raw) == "" {
913 return "", nil
914 }
915 return aghconfig.ResolvePath(raw)
916}
917
918func scopeForWorkspace(workspaceRoot string) string {
919 if strings.TrimSpace(workspaceRoot) == "" {

Callers 2

loadConfigForDisplayFunction · 0.85

Calls 1

ResolvePathMethod · 0.65

Tested by

no test coverage detected