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
commit fec4152220
Notes: sideshowbarker 2024-07-19 02:07:19 +09:00
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;