Skip to main content

repo_of_flag

Function repo_of_flag 

Source
fn repo_of_flag(value: Option<&str>) -> Result<(String, String), String>
Expand description

The repository a -R/--repo/GH_REPO value names. The whole spec must be OWNER/REPO or github.com/OWNER/REPO: another host, or a longer path, names a repository this step cannot merge on, and is never cut down to its first two parts (that would merge on a different repository than the one named).