src/heatmap.h

changeset 56
3d2720f95cfb
parent 54
586dcd606e47
equal deleted inserted replaced
54:586dcd606e47 56:3d2720f95cfb
43 std::string, // author 43 std::string, // author
44 std::map< 44 std::map<
45 std::chrono::year_month_day, // date 45 std::chrono::year_month_day, // date
46 commits 46 commits
47 >>> m_heatmap; 47 >>> m_heatmap;
48 std::string m_current_repo = "All Repositories"; 48 std::string m_current_repo;
49 bool m_separate;
49 public: 50 public:
51 explicit heatmap(bool separate) noexcept : m_separate(separate) {}
52
50 void set_repo(const std::string& repo) { 53 void set_repo(const std::string& repo) {
51 m_current_repo.assign(repo); 54 m_current_repo.assign(repo);
52 } 55 }
53 void add(const settings &settings, const std::string& log); 56 void add(const settings &settings, const std::string& log);
54 57

mercurial