git-config-value 0.10.2

Please use `gix-<thiscrate>` instead ('git' -> 'gix')
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::borrow::Cow;

use bstr::{BStr, ByteSlice};

type Result<T = ()> = std::result::Result<T, Box<dyn std::error::Error>>;
fn b(s: &str) -> &bstr::BStr {
    s.into()
}

pub fn cow_str(s: &str) -> Cow<'_, BStr> {
    Cow::Borrowed(s.as_bytes().as_bstr())
}

mod boolean;
mod color;
mod integer;
mod path;