Polishing comments (getParentPath()).
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 17 Oct 2013 17:48:00 +0000 (19:48 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 17 Oct 2013 17:48:00 +0000 (19:48 +0200)
src/VfsNs.cpp
src/VfsNs.h

index c7c6b92..da201f6 100644 (file)
@@ -803,6 +803,12 @@ void VfsCatalog::updateReplica(const Replica& replica) throw (DmException)
 
 
 
+/// Get the parent of a directory.
+///
+/// @param path        The namespace path to split.
+/// @param parentPath  Result parent path.
+/// @param name        Result file name (with the last / stripped).
+/// @return            The parent metadata.
 ExtendedStat VfsCatalog::getParent(const std::string& path,
                                        std::string* parentPath,
                                        std::string* name) throw (DmException)
index 20c2477..462bbc3 100644 (file)
@@ -95,11 +95,6 @@ namespace dmlite {
     void    updateReplica(const Replica& replica) throw (DmException);
 
    protected:
-    /// Get the parent of a directory.
-    /// @param path       The path to split.
-    /// @param parentPath Where to put the parent path.
-    /// @param name       Where to put the file name (stripping last /).
-    /// @return           The parent metadata.
     ExtendedStat getParent(const std::string& path, std::string* parentPath,
                           std::string* name) throw (DmException);
     /// Get path on the local disk according to "public" path.