diff -r f58fd8461e10 -r de22ded6d50a src/heatmap.h --- a/src/heatmap.h Tue Feb 25 18:22:55 2025 +0100 +++ b/src/heatmap.h Tue Feb 25 18:46:17 2025 +0100 @@ -26,6 +26,7 @@ #define HEATMAP_H #include +#include #include #include @@ -53,6 +54,12 @@ [[nodiscard]] const auto& data() const { return m_heatmap; } + + [[nodiscard]] std::array commits_per_month( + const std::string &repo, + const std::string& author, + std::chrono::year year + ) const; }; }