| 732 | } |
| 733 | |
| 734 | BOOST_FILESYSTEM_DECL size_type path_algorithms::find_root_path_size(path const& p) |
| 735 | { |
| 736 | size_type root_name_size = 0; |
| 737 | size_type root_dir_pos = find_root_directory_start(p.m_pathname.c_str(), p.m_pathname.size(), root_name_size); |
| 738 | |
| 739 | size_type size = root_name_size; |
| 740 | if (root_dir_pos < p.m_pathname.size()) |
| 741 | size = root_dir_pos + 1; |
| 742 | |
| 743 | return size; |
| 744 | } |
| 745 | |
| 746 | BOOST_FILESYSTEM_DECL path_algorithms::substring path_algorithms::find_root_directory(path const& p) |
| 747 | { |
nothing calls this directly
no test coverage detected