Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/larksuite/cli
/ redactHome
Function
redactHome
cmd/platform_bootstrap.go:293–298 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
291
}
292
293
func
redactHome(s string) string {
294
if
home, err := vfs.UserHomeDir(); err == nil && home !=
""
{
295
s = strings.ReplaceAll(s, home,
"~"
)
296
}
297
return
s
298
}
Callers
1
warnPolicyError
Function · 0.85
Calls
1
UserHomeDir
Function · 0.92
Tested by
no test coverage detected