fs: Reimplement path resolving using std::filesystem::weakly_canonical
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user