16 File(
const char* path) : path_(convertDelimiters(std::string(path)))
18 File(std::string path) : path_(convertDelimiters(path))
26 void append(std::string file_or_dir);
53 static std::string convertDelimiters(std::string path);
std::string getAbsolutePath() const
Definition: file.cpp:88
File(const char *path)
Definition: file.hpp:16
std::string readIntoString(std::string filename)
Definition: file.cpp:25
bool isAbsolute() const
Definition: file.cpp:60
static constexpr char PosixDelimiter
Definition: file.hpp:34
void append(std::string file_or_dir)
Definition: file.cpp:65
File getParentDirectory() const
Definition: file.cpp:43
bool exists() const
Definition: file.cpp:102
static constexpr char getNonPlatformDelimiter()
Definition: file.hpp:44
static constexpr char WinDelimiter
Definition: file.hpp:33
static constexpr char getPlatformDelimiter()
Definition: file.hpp:36
File(std::string path)
Definition: file.hpp:18