mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 15:13:37 +02:00
Add metafilesystem hook to add optimized implementations of compute recursive directory size
This commit is contained in:
@@ -54,6 +54,8 @@ public:
|
||||
int RenameFile(const std::string &from, const std::string &to) override { return -1; }
|
||||
bool RemoveFile(const std::string &filename) override { return false; }
|
||||
|
||||
bool ComputeRecursiveDirSizeIfFast(const std::string &path, int64_t *size) override { return false; }
|
||||
|
||||
private:
|
||||
struct TreeEntry {
|
||||
~TreeEntry();
|
||||
@@ -150,6 +152,8 @@ public:
|
||||
int RenameFile(const std::string &from, const std::string &to) override { return -1; }
|
||||
bool RemoveFile(const std::string &filename) override { return false; }
|
||||
|
||||
bool ComputeRecursiveDirSizeIfFast(const std::string &path, int64_t *size) override { return false; }
|
||||
|
||||
private:
|
||||
std::shared_ptr<IFileSystem> isoFileSystem_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user