This commit is contained in:
mlangkabel
2018-11-30 16:16:31 +01:00
parent e105ac88ca
commit ea3abfc026
38 changed files with 187291 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef SOURCETRAIL_UTILITY_H
#define SOURCETRAIL_UTILITY_H
#include <string>
#include <time.h>
namespace sourcetrail
{
namespace utility
{
bool getFileExists(const std::string& filePath);
std::string getFileContent(const std::string& filePath);
time_t getFileModificationTime(const std::string& filePath);
std::string getDateTimeString(const time_t& time);
int getLineCount(const std::string s);
}
}
#endif // SOURCETRAIL_UTILITY_H