Function: formatTarget()
ts
function formatTarget(target): string;Formats a RemoteTarget as user@host:path, with brackets around IPv6 addresses. This form has no place for a port, so port is left out.
Parameters
| Parameter | Type |
|---|---|
target | RemoteTarget |
Returns
string