pub fn run_config(args: &[impl AsRef<OsStr>]) -> Result<Output, ConfigErr> {
    let mut args_vec: Vec<OsString> = vec!["config".into()];
    args_vec.extend(args.iter().map(|a| a.into()));
    let result = run_git_command(&args_vec);
    match result {
        Ok(output) => Ok(output),
        Err(output) => Err(output.into()),
    }
}
/**
 * Run 'git config' with supplied arguments
 */
Run 'git config' with supplied arguments
Run ' git config ' with supplied arguments
pub fn run_config(args: &[impl AsRef<OsStr>]) -> Result<Output, ConfigErr> {
    let mut args_vec: Vec<OsString> = vec!["config".into()];
    args_vec.extend(args.iter().map(|a| a.into()));
    let result = run_git_command(&args_vec);
    match result {
        Ok(output) => Ok(output),
        Err(output) => Err(output.into()),
    }
}
pub fn run_config ( args : & [ impl AsRef < OsStr > ] ) -> Result < Output , ConfigErr > { let mut args_vec : Vec < OsString > = vec ! [ " " into ( ) ] ; args_vec . extend ( args . iter ( ) . map ( | a | a . into ( ) ) ) ; let result = run_git_command ( & args_vec ) ; match result { Ok ( output ) => Ok ( output ) , Err ( output ) => Err ( output . into ( ) ) , } }
Run 'git config' with supplied arguments
Run ' git config ' with supplied arguments
args
&[impl AsRef<OsStr>]
args
&[impl AsRef<OsStr>]