mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
Allow to cancel dir size calculation (#13134)
This commit is contained in:
parent
eeda958f33
commit
382a27cb2f
4 changed files with 19 additions and 4 deletions
|
@ -669,7 +669,7 @@ namespace fs
|
|||
bool remove_all(const std::string& path, bool remove_root = true, bool is_no_dir_ok = false);
|
||||
|
||||
// Get size of all files recursively
|
||||
u64 get_dir_size(const std::string& path, u64 rounding_alignment = 1);
|
||||
u64 get_dir_size(const std::string& path, u64 rounding_alignment = 1, atomic_t<bool>* cancel_flag = nullptr);
|
||||
|
||||
enum class error : uint
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue