mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
Return immediatly from fs::remove_all on failure to remove entries
This way error code will be reflected properly
This commit is contained in:
parent
0a5b6ad928
commit
d48d424b19
2 changed files with 13 additions and 5 deletions
|
@ -503,7 +503,7 @@ namespace fs
|
|||
const std::string& get_cache_dir();
|
||||
|
||||
// Delete directory and all its contents recursively
|
||||
void remove_all(const std::string& path, bool remove_root = true);
|
||||
bool remove_all(const std::string& path, bool remove_root = true);
|
||||
|
||||
// Get size of all files recursively
|
||||
u64 get_dir_size(const std::string& path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue