fs: Reimplement path resolving using std::filesystem::weakly_canonical

This commit is contained in:
Eladash 2021-11-20 10:44:33 +02:00 committed by Ivan
parent 8c9090fd03
commit 0c4b2ff06b
6 changed files with 45 additions and 21 deletions

View file

@ -645,6 +645,9 @@ namespace fs
std::string m_dest{}; // Destination file path
};
// Get real path for comparisons
std::string resolve_path(std::string_view path);
// Delete directory and all its contents recursively
bool remove_all(const std::string& path, bool remove_root = true);