| 439 | // ----- query ----- |
| 440 | |
| 441 | bool empty() const { return m_pathname.empty(); } // name consistent with std containers |
| 442 | bool has_root_path() const { return has_root_directory() || has_root_name(); } |
| 443 | bool has_root_name() const { return !root_name().empty(); } |
| 444 | bool has_root_directory() const { return !root_directory().empty(); } |