MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / expandPath

Function expandPath

internal/cli/management.go:1141–1147  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

1139}
1140
1141func expandPath(path string) string {
1142 home := os.Getenv("HOME")
1143 if home == "" {
1144 home = pathutil.Home()
1145 }
1146 return os.ExpandEnv(strings.ReplaceAll(path, "~", home))
1147}
1148
1149// ============================================================================
1150// update — fetch/update from configured repositories

Callers 4

entityListCommandFunction · 0.85
isAlreadyInstalledFunction · 0.85
uninstallAllFromAppFunction · 0.85
interactiveUninstallFunction · 0.85

Calls 1

HomeFunction · 0.92

Tested by

no test coverage detected