aboutsummaryrefslogtreecommitdiff
path: root/build/path
diff options
context:
space:
mode:
Diffstat (limited to 'build/path')
-rw-r--r--build/path5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/path b/build/path
index 92832a1..dbd048d 100644
--- a/build/path
+++ b/build/path
@@ -259,6 +259,11 @@ namespace build
basic_path
base () const;
+ // Return the extension or NULL if not present.
+ //
+ const C*
+ extension () const;
+
// Return a path relative to the specified path that is equivalent
// to *this. Throws invalid_path if a relative path cannot be derived
// (e.g., paths are on different drives on Windows).