Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mister-leo/fssh
/ displayHostname
Function
displayHostname
cmd/fssh/shell.go:384–387 ·
view source on GitHub ↗
(hi sshconfig.HostInfo)
Source
from the content-addressed store, hash-verified
382
}
383
384
func
displayHostname(hi sshconfig.HostInfo) string {
385
if
hi.Hostname !=
""
{
return
hi.Hostname }
386
return
hi.Name
387
}
Callers
2
reloadHosts
Function · 0.85
runShell
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected