src/settings.h

changeset 14
f0ae064c5b9c
parent 5
60c2588b4455
child 16
730a5638c4ad
equal deleted inserted replaced
13:e714005f3e9d 14:f0ae064c5b9c
35 35
36 struct settings { 36 struct settings {
37 std::string hg{"/usr/bin/hg"}; 37 std::string hg{"/usr/bin/hg"};
38 std::string git{"/usr/bin/git"}; 38 std::string git{"/usr/bin/git"};
39 std::vector<std::string> paths; 39 std::vector<std::string> paths;
40 std::vector<std::string> authors;
40 unsigned char depth = 1; 41 unsigned char depth = 1;
41 bool update_repos = true; 42 bool update_repos = true;
42 bool separate = false; 43 bool separate = false;
43 unsigned short year = settings_current_year; 44 unsigned short year = settings_current_year;
45
46 [[nodiscard]] bool exclude_author(const std::string &author) const;
44 }; 47 };
45 48
46 } 49 }
47 50
48 #endif //SETTINGS_H 51 #endif //SETTINGS_H

mercurial