fix diff
Some checks failed
CMake / build (push) Failing after 29m54s

This commit is contained in:
2023-12-24 14:00:41 +01:00
parent 1f72814b99
commit d424adc389
3 changed files with 16 additions and 15 deletions

View File

@@ -15,7 +15,7 @@
FileRepository::FileRepository(Config config)
: Repository(std::move(config)), root(std::filesystem::path(this->config.getStr("repo"))),
writeCacheMax(config.getInt("repo-target") * 1024 * 1024) {}
writeCacheMax(this->config.getInt("repo-target") * 1024 * 1024) {}
bool FileRepository::exists() { return std::filesystem::is_directory(root) && std::filesystem::exists(root / "info"); }