Skip to main content

git_ok

Function git_ok 

Source
pub fn git_ok(
    root: &Utf8Path,
    args: &[&str],
    expected: &str,
) -> Result<String, RkError>
Expand description

Run one git command that must succeed, with its failure typed.

§Errors

The command’s failure, with git’s last line.