1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

AK: Add dirname() to FileSystemPath

This commit is contained in:
Conrad Pankoff 2020-01-07 22:35:45 +11:00 committed by Andreas Kling
parent 3f3169c225
commit c7fd39f3b1
2 changed files with 12 additions and 1 deletions

View file

@ -12,6 +12,7 @@ public:
bool is_valid() const { return m_is_valid; }
const String& string() const { return m_string; }
const String& dirname() const { return m_dirname; }
const String& basename() const { return m_basename; }
const String& title() const { return m_title; }
const String& extension() const { return m_extension; }
@ -25,6 +26,7 @@ private:
Vector<String> m_parts;
String m_string;
String m_dirname;
String m_basename;
String m_title;
String m_extension;