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