diff options
Diffstat (limited to 'src/buildtool/common/repository_config.hpp')
-rw-r--r-- | src/buildtool/common/repository_config.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buildtool/common/repository_config.hpp b/src/buildtool/common/repository_config.hpp index ea463d43..8c5c29a5 100644 --- a/src/buildtool/common/repository_config.hpp +++ b/src/buildtool/common/repository_config.hpp @@ -28,6 +28,7 @@ #include "src/buildtool/file_system/file_root.hpp" #include "src/buildtool/file_system/git_cas.hpp" #include "src/buildtool/multithreading/atomic_value.hpp" +#include "src/buildtool/storage/storage.hpp" class RepositoryConfig { @@ -136,7 +137,8 @@ class RepositoryConfig { // Obtain repository's cache key if the repository is content fixed or // std::nullopt otherwise. - [[nodiscard]] auto RepositoryKey(std::string const& repo) const noexcept + [[nodiscard]] auto RepositoryKey(Storage const& storage, + std::string const& repo) const noexcept -> std::optional<std::string>; // used for testing |