aboutsummaryrefslogtreecommitdiff
path: root/build/path
diff options
context:
space:
mode:
Diffstat (limited to 'build/path')
-rw-r--r--build/path6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/path b/build/path
index 6ce2172..9b68485 100644
--- a/build/path
+++ b/build/path
@@ -287,6 +287,12 @@ namespace build
basic_path
directory (basic_path const&) const;
+ // Return the root directory of the path or empty path if
+ // the directory is not absolute.
+ //
+ basic_path
+ root_directory () const;
+
// Return the path without the extension, if any.
//
basic_path