gout

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

commit.h (622B)


      1 #ifndef GOUT_WRITER_GOPHER_COMMIT_H_
      2 #define GOUT_WRITER_GOPHER_COMMIT_H_
      3 
      4 #include "git/commit.h"
      5 #include "git/repo.h"
      6 
      7 typedef struct GopherCommit GopherCommit;
      8 
      9 GopherCommit* gopher_commit_create(const GitRepo* repo,
     10                                    const char* oid,
     11                                    const char* title);
     12 void gopher_commit_free(GopherCommit* commit);
     13 void gopher_commit_begin(GopherCommit* commit);
     14 void gopher_commit_add_commit(GopherCommit* commit,
     15                               const GitCommit* git_commit);
     16 void gopher_commit_end(GopherCommit* commit);
     17 
     18 #endif  // GOUT_WRITER_GOPHER_COMMIT_H_