mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
fs: Reimplement path resolving using std::filesystem::weakly_canonical
This commit is contained in:
parent
8c9090fd03
commit
0c4b2ff06b
6 changed files with 45 additions and 21 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue