| 233 | // ---------------------------------------------------------------------------------------- |
| 234 | |
| 235 | bool directory:: |
| 236 | is_root_path ( |
| 237 | const std::string& path |
| 238 | ) const |
| 239 | { |
| 240 | const char sep = get_separator(); |
| 241 | if (path.size() == 1 && path[0] == sep) |
| 242 | return true; |
| 243 | else |
| 244 | return false; |
| 245 | } |
| 246 | |
| 247 | // ---------------------------------------------------------------------------------------- |
| 248 |