Wuelle / Stormlicht

The Stormlicht browser engine.
MIT License
12 stars 0 forks source link

Get a std::path::PathBuf from file URLs #7

Closed Wuelle closed 9 months ago

Wuelle commented 9 months ago

This allows us to directly get a PathBuf from a file url. Before, you would need to iterate over the path segments of the url and build your own path - because this needs to be platform specific, its better to have dedicated methods inside URL.

The unix version still needs testing as I'm currently on windows (:

When completed, this will fix #4

Wuelle commented 9 months ago

Verified to work on linux