gitout

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

refs.h (450B)


      1 #ifndef GITOUT_WRITER_GOPHER_REFS_H_
      2 #define GITOUT_WRITER_GOPHER_REFS_H_
      3 
      4 #include "git/reference.h"
      5 #include "git/repo.h"
      6 
      7 typedef struct GopherRefs GopherRefs;
      8 
      9 GopherRefs* gopher_refs_create(const GitRepo* repo);
     10 void gopher_refs_free(GopherRefs* refs);
     11 void gopher_refs_begin(GopherRefs* refs);
     12 void gopher_refs_add_ref(GopherRefs* refs, const GitReference* ref);
     13 void gopher_refs_end(GopherRefs* refs);
     14 
     15 #endif  // GITOUT_WRITER_GOPHER_REFS_H_