summaryrefslogtreecommitdiff
path: root/AK/FileSystemPath.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/FileSystemPath.h')
-rw-r--r--AK/FileSystemPath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/AK/FileSystemPath.h b/AK/FileSystemPath.h
index d56625dcaf..64827157a7 100644
--- a/AK/FileSystemPath.h
+++ b/AK/FileSystemPath.h
@@ -14,9 +14,12 @@ public:
String basename() const { return m_basename; }
+ const Vector<String>& parts() const { return m_parts; }
+
private:
bool canonicalize(bool resolve_symbolic_links = false);
+ Vector<String> m_parts;
String m_string;
String m_basename;
bool m_is_valid { false };