MCPcopy
hub / github.com/wavetermdev/waveterm / ExpandHomeDirSafe

Function ExpandHomeDirSafe

pkg/wavebase/wavebase.go:166–169  ·  view source on GitHub ↗
(pathStr string)

Source from the content-addressed store, hash-verified

164}
165
166func ExpandHomeDirSafe(pathStr string) string {
167 path, _ := ExpandHomeDir(pathStr)
168 return path
169}
170
171func ReplaceHomeDir(pathStr string) string {
172 homeDir := GetHomeDir()

Callers 15

RemoteFileCopyCommandMethod · 0.92
computeDirPartFunction · 0.92
fileInfoInternalMethod · 0.92
resolvePathsFunction · 0.92
RemoteFileMoveCommandMethod · 0.92
RemoteMkdirCommandMethod · 0.92
tryGetPamEnvVarsFunction · 0.92
GetOldDBNameFunction · 0.92

Calls 1

ExpandHomeDirFunction · 0.70

Tested by

no test coverage detected