1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:47:44 +00:00

LibCore: Add ensure_parent_directories to LibCore::File

Moved the implementation in SystemServer/Service.cpp to LibCore.
This commit is contained in:
Itamar 2020-09-28 10:09:05 +03:00 committed by Andreas Kling
parent c1fc27cab2
commit fec4152220
3 changed files with 38 additions and 25 deletions

View file

@ -48,6 +48,7 @@ public:
static bool exists(const String& filename);
static String real_path_for(const String& filename);
static String read_link(const StringView& link_path);
static bool ensure_parent_directories(const String& path);
virtual bool open(IODevice::OpenMode) override;