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
.