Skip to main content

parse_target

Function parse_target 

Source
pub fn parse_target(target: &str) -> Result<(String, String)>
Expand description

Split an ssh target user@host into (user, host). git-ark hosts always run under a dedicated user, so a bare hostname (no @) is rejected rather than guessed at.