16 File(
const char* path) : path_(convertDelimiters(std::string(path)))
18 File(
const std::string& path) : path_(convertDelimiters(path))
26 void append(
const std::string& file_or_dir);
53 static std::string convertDelimiters(std::string path);
std::string getAbsolutePath() const
Definition: file.cpp:95
void append(const std::string &file_or_dir)
Definition: file.cpp:72
File(const char *path)
Definition: file.hpp:16
std::string readIntoString(const std::string &filename)
Definition: file.cpp:25
bool isAbsolute() const
Definition: file.cpp:63
static constexpr char PosixDelimiter
Definition: file.hpp:34
File getParentDirectory() const
Definition: file.cpp:46
bool exists() const
Definition: file.cpp:109
static constexpr char getNonPlatformDelimiter()
Definition: file.hpp:44
File(const std::string &path)
Definition: file.hpp:18
static constexpr char WinDelimiter
Definition: file.hpp:33
static constexpr char getPlatformDelimiter()
Definition: file.hpp:36