- clang format + naming improved
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
class FileHelper
|
||||
{
|
||||
public:
|
||||
static bool exists(const std::string& s);
|
||||
static bool exists(const char* s);
|
||||
static bool exists(const std::string& s);
|
||||
static bool exists(const char* s);
|
||||
|
||||
static void remove(const std::string& s);
|
||||
static void remove(const char* s);
|
||||
static void remove(const std::string& s);
|
||||
static void remove(const char* s);
|
||||
|
||||
// static std::string gettempname();
|
||||
static bool isAbsolute(const std::string& s);
|
||||
static bool isAbsolute(const std::string& s);
|
||||
|
||||
static std::string getCurrentDir();
|
||||
|
||||
@@ -22,7 +22,7 @@ public:
|
||||
|
||||
// Returns free space on volume for path
|
||||
// Works for Linux only. For other systems (size_t)-1 is returned (for errors too)
|
||||
static size_t getFreespace(const std::string& path);
|
||||
static size_t getFreespace(const std::string& path);
|
||||
static std::string expandUserHome(const std::string& path);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user