mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
AK: Add URL::basename()
This commit is contained in:
parent
68abc103f7
commit
ae047649db
2 changed files with 8 additions and 0 deletions
1
AK/URL.h
1
AK/URL.h
|
@ -61,6 +61,7 @@ public:
|
|||
void set_fragment(const String& fragment);
|
||||
void set_port(u16 port) { m_port = port; }
|
||||
|
||||
String basename() const;
|
||||
String to_string() const;
|
||||
|
||||
URL complete_url(const String&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue