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)


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