Function gix::path::try_from_bstr

source ·
pub fn try_from_bstr<'a>(
    input: impl Into<Cow<'a, BStr>>
) -> Result<Cow<'a, Path>, Utf8Error>
Expand description

Similar to from_byte_slice(), but takes either borrowed or owned input.