From 5a2c2e41283ed609d2f30d83d4ce4ade1b205579 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 22 Mar 2007 16:03:41 +0000 Subject: Added support for Courier maildir format. --- src/utility/path.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utility') diff --git a/src/utility/path.cpp b/src/utility/path.cpp index 21c02b7a..abbba853 100644 --- a/src/utility/path.cpp +++ b/src/utility/path.cpp @@ -149,6 +149,12 @@ const bool path::isEmpty() const } +const bool path::isRoot() const +{ + return (m_list.empty()); +} + + const path::component path::getLastComponent() const { return (m_list[m_list.size() - 1]); -- cgit