From: František Dvořák Date: Thu, 17 Oct 2013 17:48:00 +0000 (+0200) Subject: Polishing comments (getParentPath()). X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=e787bccdeb300d218476a42d191bdf40445ab0a2;p=dmlite-plugins-vfs.git Polishing comments (getParentPath()). --- diff --git a/src/VfsNs.cpp b/src/VfsNs.cpp index c7c6b92..da201f6 100644 --- a/src/VfsNs.cpp +++ b/src/VfsNs.cpp @@ -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) diff --git a/src/VfsNs.h b/src/VfsNs.h index 20c2477..462bbc3 100644 --- a/src/VfsNs.h +++ b/src/VfsNs.h @@ -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.