1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

AK: Add LexicalPath::relative_path

This commit is contained in:
Itamar 2021-02-20 16:34:31 +02:00 committed by Andreas Kling
parent 50f887c9d5
commit 7ecb21afa7
Notes: sideshowbarker 2024-07-18 22:06:48 +09:00
2 changed files with 16 additions and 0 deletions

View file

@ -50,6 +50,7 @@ public:
bool has_extension(const StringView&) const;
static String canonicalized_path(const StringView&);
static String relative_path(const String absolute_path, const String& prefix);
private:
void canonicalize();