Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
166
func
ExpandHomeDirSafe(pathStr string) string {
167
path, _ := ExpandHomeDir(pathStr)
168
return
path
169
}
170
171
func
ReplaceHomeDir(pathStr string) string {
172
homeDir := GetHomeDir()
Callers
15
RemoteFileCopyCommand
Method · 0.92
computeDirPart
Function · 0.92
fileInfoInternal
Method · 0.92
resolvePaths
Function · 0.92
RemoteFileMultiInfoCommand
Method · 0.92
RemoteFileTouchCommand
Method · 0.92
RemoteFileMoveCommand
Method · 0.92
RemoteMkdirCommand
Method · 0.92
SetupDomainSocketRpcClient
Function · 0.92
ExtractUnverifiedSocketName
Function · 0.92
tryGetPamEnvVars
Function · 0.92
GetOldDBName
Function · 0.92
Calls
1
ExpandHomeDir
Function · 0.70
Tested by
no test coverage detected