MCPcopy 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
384func displayHostname(hi sshconfig.HostInfo) string {
385 if hi.Hostname != "" { return hi.Hostname }
386 return hi.Name
387}

Callers 2

reloadHostsFunction · 0.85
runShellFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected