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