aboutsummaryrefslogtreecommitdiff
path: root/butl/path
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-24 17:32:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-24 17:32:35 +0200
commit5cf3e2e1d768e2815831d61faa7560d589929b0d (patch)
tree7102daf001c94b85d7896ad2235c849182d6c04c /butl/path
parentc24485df9d89f8ec6808de50e1b45ef9604fbe83 (diff)
Document path::extension() better
Diffstat (limited to 'butl/path')
-rw-r--r--butl/path4
1 files changed, 3 insertions, 1 deletions
diff --git a/butl/path b/butl/path
index 451600c..af01d05 100644
--- a/butl/path
+++ b/butl/path
@@ -343,7 +343,9 @@ namespace butl
basic_path
base () const;
- // Return the extension or NULL if not present.
+ // Return the extension or NULL if not present. If not NULL, then
+ // the result points to the character past the dot but it is legal
+ // to decrement it once to obtain the value with the dot.
//
const C*
extension () const;