Poco::File create path (#4873) (#4959)

* #4202 Checked if the path exists, create one if not

* Addressed comments

* fix(Poco::File): resolve compile errors related to createfile.

---------

Co-authored-by: capak07 <69026837+capak07@users.noreply.github.com>
This commit is contained in:
Matej Kenda
2025-05-29 10:50:58 +02:00
committed by GitHub
parent 733f0c34e0
commit 7b58bc10e7
6 changed files with 20 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ protected:
void renameToImpl(const std::string& path, int options = 0);
void linkToImpl(const std::string& path, int type) const;
void removeImpl();
bool createFileImpl();
bool createFileImpl(bool createDirectories = false);
bool createDirectoryImpl();
FileSizeImpl totalSpaceImpl() const;
FileSizeImpl usableSpaceImpl() const;