Skip to main content

parse_host_spec

Function parse_host_spec 

Source
pub fn parse_host_spec(input: &str) -> Result<HostSpec>
Expand description

Parse a non-empty Host alias or user@host string.

ยงErrors

Returns crate::HortoError::Message when the string is empty or only whitespace.