mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
Add a simple FileSystemPath class that can canonicalize paths.
Also a simple StringBuilder to help him out.
This commit is contained in:
parent
43475f248b
commit
88ad59bfb1
Notes:
sideshowbarker
2024-07-19 18:37:12 +09:00
Author: https://github.com/awesomekling
Commit: 88ad59bfb1
6 changed files with 102 additions and 6 deletions
|
@ -61,6 +61,7 @@ public:
|
|||
Vector<String> split(char separator) const;
|
||||
String substring(size_t start, size_t length) const;
|
||||
|
||||
bool isNull() const { return !m_impl; }
|
||||
bool isEmpty() const { return length() == 0; }
|
||||
unsigned length() const { return m_impl ? m_impl->length() : 0; }
|
||||
const char* characters() const { return m_impl ? m_impl->characters() : nullptr; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue