diff options
author | Vincent Richard <[email protected]> | 2004-12-22 09:54:43 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-22 09:54:43 +0000 |
commit | 348846413d513da5991fbb1e1b210cfb52a21c56 (patch) | |
tree | a23a20bdc4e1bf1763252b93cfc2927ec2c07585 | |
parent | Added renameParent() function. (diff) | |
download | vmime-348846413d513da5991fbb1e1b210cfb52a21c56.tar.gz vmime-348846413d513da5991fbb1e1b210cfb52a21c56.zip |
Explain renameParent() in function doc.
-rw-r--r-- | src/utility/path.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utility/path.hpp b/src/utility/path.hpp index 5f377f7a..8fc376d5 100644 --- a/src/utility/path.hpp +++ b/src/utility/path.hpp @@ -140,6 +140,8 @@ public: const bool isParentOf(const path& p) const; /** Rename a parent component in the path. + * Example: path("a/b/c/d").renameParent("a/b", "x/y/z") + * will return path("x/y/z/c/d"). * * @param oldPath old parent path * @param newPath new parent path |