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

This commit is contained in:
Henrik Rydgård
2021-09-11 18:12:29 +02:00
parent e842d395fa
commit 48310d15a9
11 changed files with 88 additions and 13 deletions
+2
View File
@@ -52,6 +52,8 @@ public:
int RenameFile(const std::string &from, const std::string &to) override;
bool RemoveFile(const std::string &filename) override;
bool ComputeRecursiveDirSizeIfFast(const std::string &path, int64_t *size) override { return false; }
private:
void LoadFileListIndex();
// Warning: modifies input string.