mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
AK: Add LexicalPath::relative_path
This commit is contained in:
parent
50f887c9d5
commit
7ecb21afa7
2 changed files with 16 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue