mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
LibCore: Add a Resource method to create a file:// URL from a resource
This commit is contained in:
parent
e9aa72ee98
commit
aa9387c76c
2 changed files with 9 additions and 0 deletions
|
@ -30,6 +30,7 @@ public:
|
|||
[[nodiscard]] String uri() const;
|
||||
[[nodiscard]] String filename() const;
|
||||
[[nodiscard]] String filesystem_path() const;
|
||||
[[nodiscard]] String file_url() const;
|
||||
|
||||
[[nodiscard]] ByteBuffer clone_data() const;
|
||||
[[nodiscard]] ByteBuffer release_data() &&;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue