Use stat to check that paths are equivalent
[alexxy/gromacs.git] / src / gromacs / utility / path.h
index fcecd2f866d68213e07c376820608256851f265b..4fd6bf97acdec12f96821e0cc97c0ad42624796e 100644 (file)
@@ -56,8 +56,8 @@ class Path
         static bool containsDirectory(const std::string &path);
         static bool isAbsolute(const char *path);
         static bool isAbsolute(const std::string &path);
-        static bool startsWith(const std::string &path,
-                               const std::string &prefix);
+        static bool isEquivalent(const std::string &path1,
+                                 const std::string &path2);
 
         static std::string join(const std::string &path1,
                                 const std::string &path2);