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)
1 #pragma once 2 3 #include <ostream> 4 #include <string> 5 6 #include <git2wrap/types.hpp> 7 8 namespace startgit 9 { 10 11 std::string time_short(int64_t date); 12 std::string time_long(const git2wrap::time& time); 13 void xmlencode(std::ostream& ost, const std::string& str); 14 std::string filemode(git2wrap::filemode_t filemode); 15 16 } // namespace startgit