gout

A static git page generator
git clone https://git.bracken.jp/gout.git
Log | Files | Refs | README | LICENSE

commit.h (727B)


      1 #ifndef GOUT_WRITER_HTML_COMMIT_H_
      2 #define GOUT_WRITER_HTML_COMMIT_H_
      3 
      4 #include <stdint.h>
      5 
      6 #include "git/commit.h"
      7 #include "git/repo.h"
      8 #include "utils.h"
      9 
     10 typedef struct HtmlCommit HtmlCommit;
     11 
     12 HtmlCommit* html_commit_create(const GitRepo* repo,
     13                                const FileSystem* fs,
     14                                const char* oid,
     15                                const char* title);
     16 void html_commit_free(HtmlCommit* commit);
     17 void html_commit_begin(HtmlCommit* commit);
     18 void html_commit_add_commit(HtmlCommit* commit, const GitCommit* git_commit);
     19 void html_commit_set_diff_limits(HtmlCommit* commit, const DiffLimits* limits);
     20 void html_commit_end(HtmlCommit* commit);
     21 
     22 #endif  // GOUT_WRITER_HTML_COMMIT_H_