1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

LibCore: Add Core::File::real_path_for()

A slightly convenient wrapper around realpath(3).
This commit is contained in:
Andreas Kling 2020-06-12 21:29:01 +02:00
parent fdfda6dec2
commit d54ace5f04
2 changed files with 12 additions and 0 deletions

View file

@ -46,6 +46,7 @@ public:
static bool is_directory(const String& filename);
static bool exists(const String& filename);
static String real_path_for(const String& filename);
virtual bool open(IODevice::OpenMode) override;