diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-03-14 11:19:10 +0100 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-03-19 10:26:33 -0700 |
commit | 62f0fa818d9744c0a8b9803dadb7a52329906a2e (patch) | |
tree | 0c34d38f9c20b751259e4a270601d526d3ab077f /Userland/Libraries/LibCore/File.h | |
parent | f44cd168b06cbb99082dd1b2e77d351e41e1c274 (diff) | |
download | serenity-62f0fa818d9744c0a8b9803dadb7a52329906a2e.zip |
LibCore: Add File::ensure_directories()
Diffstat (limited to 'Userland/Libraries/LibCore/File.h')
-rw-r--r-- | Userland/Libraries/LibCore/File.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/File.h b/Userland/Libraries/LibCore/File.h index 6c59972fdd..146a3ae239 100644 --- a/Userland/Libraries/LibCore/File.h +++ b/Userland/Libraries/LibCore/File.h @@ -38,6 +38,7 @@ public: static bool exists(String const& filename); static ErrorOr<size_t> size(String const& filename); static bool ensure_parent_directories(String const& path); + static bool ensure_directories(String const& path); static String current_working_directory(); static String absolute_path(String const& path); |