The functions described below are convenience functions to convert between a URL and a filesystem path.
#include <skyr/filesystem/path.hpp>
#include <skyr/url.hpp>
#include <skyr/filesystem/path.hpp>
#include <iostream>
int main() {
auto path = std::filesystem::path("/usr/bin/clang");
auto url = skyr::filesystem::from_path(path).value();
std::cout << url << std::endl;
}
.. doxygenfunction:: skyr::v1::filesystem::from_path
.. doxygenfunction:: skyr::v1::filesystem::to_path
.. doxygenenum:: skyr::v1::filesystem::path_errc