Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTypeError ¶ added in v0.5.1
CheckTypeError validates from-remote, from-local, to-remote and host-counts.
func EscapePath ¶ added in v0.5.1
EscapePath escapes characters (`\`, `;`, ` `).
func ExistServer ¶
ExistServer returns true if inputServer exists in nameList.
func ParseScpPath ¶ added in v0.5.1
ParseScpPath parses remote or local path string. Path string has a `:` delimiter. A prefix of path string is a scp location. A scp location is `local (l)` or `remote (r)`.
arg examples:
Local path: local:/tmp/a.txt l:/tmp/a.txt /tmp/a.txt Remote path: remote:/tmp/a.txt r:/tmp/a.txt
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.