*
* \author Teemu Murtola <teemu.murtola@gmail.com>
* \inlibraryapi
- * \ingroup module_fileio
+ * \ingroup module_utility
*/
-#ifndef GMX_FILEIO_PATH_H
-#define GMX_FILEIO_PATH_H
+#ifndef GMX_UTILITY_PATH_H
+#define GMX_UTILITY_PATH_H
#include <string>
#include <utility>
static std::string normalize(const std::string &path);
static std::string getParentPath(const std::string &path);
static std::string getFilename(const std::string &path);
+ static bool hasExtension(const std::string &path);
+ static std::string stripExtension(const std::string &path);
static bool exists(const char *path);
static bool exists(const std::string &path);