pub fn parse_path_type(input: &[u8]) -> IResult<&[u8], PathType>