Skip to content

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 ​

ParameterType
targetRemoteTarget

Returns ​

string

Released under the MIT License.