65 std::filesystem::path m_Path;
76#if defined(OPENFLUID_OS_UNIX)
78#elif defined(OPENFLUID_OS_WINDOWS)
89#if defined(OPENFLUID_OS_UNIX)
91#elif defined(OPENFLUID_OS_WINDOWS)
126 const std::filesystem::path& stdPath() const;
154 static std::
string removeTrailingSeparators(const std::
string&
Path,
char Sep = '/') noexcept;
161 std::
string toNative() const;
167 std::
string toGeneric() const;
173 std::
string toGenericClean() const;
179 std::vector<std::
string> split() const;
186 std::
string filename() const;
193 std::
string dirname() const;
202 std::
string basename() const;
210 std::
string minimalBasename() const;
217 std::
string extension() const;
224 std::
string completeExtension() const;
231 bool contains(const std::
string&
Path) const;
239 std::
string relativeTo(const std::
string&
Path) const;
246 bool isDirectory(const std::
string&
Path = "") const;
253 bool isFile(const std::
string&
Path = "") const;
260 bool exists(const std::
string&
Path = "") const;
269 bool makeDirectory(const std::
string&
Path = "", std::error_code& ErrorCode=DefaultErrorCode) const;
277 bool removeDirectory(const std::
string&
Path = "", std::error_code& ErrorCode=DefaultErrorCode) const;
285 bool makeFile(const std::
string&
Path = "") const;
293 bool removeFile(const std::
string&
Path = "", std::error_code& ErrorCode=DefaultErrorCode) const;
301 bool remove(const std::
string&
Path = "", std::error_code& ErrorCode=DefaultErrorCode) const;