diff --git a/libs/middletier/Utils.hpp b/libs/middletier/Utils.hpp index 6b229b74e27695ab0840eec4a438eaaf506072bf..eb8664645a1254aa332e5675a9548892d6d82c86 100644 --- a/libs/middletier/Utils.hpp +++ b/libs/middletier/Utils.hpp @@ -25,9 +25,10 @@ public: * * For example: * - * * path="/grandparent/parent/child" would return "/grandparent/parent" - * * path="/grandparent" would return "/grandparent" - * * path="/" would return "" where empty string means no enclosing directoyr + * * path="/grandparent/parent/child" would return "/grandparent/parent/" + * * path="/grandparent/parent" would return "/grandparent/" + * * path="/grandparent" would return "/" + * * path="/" would throw an exception * * @param path The path. * @return The path of the enclosing directory.