1 use crate::std::ffi::OsStr; 2 use crate::std::io; 3 use crate::std::path::{Path, PathBuf, Prefix}; 4 use crate::std::sys::unsupported; 5 6 #[inline] 7 pub fn is_sep_byte(b: u8) -> bool { 8 b == b'\\' 9 } 10 11 #[inline] 12 pub fn is_verbatim_sep(b: u8) -> bool { 13 b == b'\\' 14 } 15 16 pub fn parse_prefix(_: &OsStr) -> Option<Prefix<'_>> { 17 None 18 } 19 20 pub const MAIN_SEP_STR: &str = "\\"; 21 pub const MAIN_SEP: char = '\\'; 22 23 pub(crate) fn absolute(_path: &Path) -> io::Result<PathBuf> { 24 unsupported() 25 } 26