startgitStatic page generator for git repositories |
git clone git://git.dimitrijedobrota.com/startgit.git |
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING |
utils.hpp (332B)
0 #pragma once 1 2 #include <ostream> 3 #include <string> 4 5 #include <git2wrap/types.hpp> 6 7 namespace startgit 8 { 9 10 std::string time_short(int64_t date); 11 std::string time_long(const git2wrap::time& time); 12 void xmlencode(std::ostream& ost, const std::string& str); 13 std::string filemode(git2wrap::filemode_t filemode); 14 15 } // namespace startgit