startgit

Static page generator for git repositories
git clone git://git.dimitrijedobrota.com/startgit.git
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING

tag.hpp (409B)


0 #pragma once
2 #include <string>
4 #include <git2wrap/tag.hpp>
6 namespace startgit
7 {
9 class tag
10 {
11 public:
12 explicit tag(const git2wrap::tag& tagg);
14 std::string get_name() const { return m_name; }
15 std::string get_author() const { return m_author; }
16 std::string get_time() const { return m_time; }
18 private:
19 std::string m_name;
20 std::string m_author;
21 std::string m_time;
22 };
24 } // namespace startgit