mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
AK: Implement a way to resolve relative paths lexically
This commit is contained in:
parent
24e7196158
commit
50ad294527
3 changed files with 22 additions and 0 deletions
|
@ -33,6 +33,7 @@ public:
|
|||
[[nodiscard]] LexicalPath parent() const;
|
||||
|
||||
[[nodiscard]] static String canonicalized_path(String);
|
||||
[[nodiscard]] static String absolute_path(String dir_path, String target);
|
||||
[[nodiscard]] static String relative_path(StringView const& absolute_path, StringView const& prefix);
|
||||
|
||||
template<typename... S>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue