Rewrite vfs::get and vfs::mount

Preprocess . and .. correctly
Don't use recursive locking
Also use std::string_view
Fix format system for std::string and std::string_view
Fix fmt::merge for std::string_view
This commit is contained in:
Nekotekina 2018-09-11 19:02:19 +03:00
parent 16dcbe8c74
commit e8b5555630
9 changed files with 346 additions and 151 deletions

View file

@ -43,5 +43,6 @@ namespace std { inline namespace literals { inline namespace chrono_literals {}}
#include <functional>
#include <unordered_map>
#include <algorithm>
#include <string_view>
using namespace std::literals;