26 using extends::extends;
28 std::unique_ptr<std::istream>
open( std::string
const& url )
override {
30 constexpr
auto prefix = std::string_view{
"file://" };
31 return std::make_unique<std::ifstream>( url.compare( 0,
prefix.size(),
prefix ) == 0 ? url.substr(
prefix.size() )
36 const std::vector<std::string>&
protocols()
const override {
38 static const std::vector<std::string> s_protocols = { {
"file" } };