Add metafilesystem hook to add optimized implementations of compute recursive directory size

This commit is contained in:
Henrik Rydgård committed 2021-09-11 18:12:29 +02:00
1 parent e842d395fa
commit 48310d15a9
11 files changed
+88 -13

No files matched your search

+2
View File
@@ -54,6 +54,8 @@ public:
bool RemoveFile(const std::string &filename) override;
u64 FreeSpace(const std::string &path) override;
bool ComputeRecursiveDirSizeIfFast(const std::string &path, int64_t *size) override { return false; }
private:
// File positions.
std::map<u32, s64> entries_;