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 |
common.hpp (723B)
0 #pragma once 1 2 #include <iostream> 3 #include <string> 4 5 #include "branch.hpp" 6 #include "repository.hpp" 7 8 namespace startgit 9 { 10 11 void write_header(std::ostream& ost, 12 const std::string& title, 13 const std::string& description, 14 const std::string& author, 15 const std::string& relpath = "./", 16 bool has_feed = true); 17 18 void write_header(std::ostream& ost, 19 const repository& repo, 20 const branch& branch, 21 const std::string& description, 22 const std::string& relpath = "./", 23 bool has_feed = true); 24 25 void write_footer(std::ostream& ost); 26 27 } // namespace startgit