gitout

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

fileblob.h (520B)


      1 #ifndef GITOUT_WRITER_GOPHER_FILEBLOB_H_
      2 #define GITOUT_WRITER_GOPHER_FILEBLOB_H_
      3 
      4 #include "git/file.h"
      5 #include "git/repo.h"
      6 
      7 typedef struct GopherFileBlob GopherFileBlob;
      8 
      9 GopherFileBlob* gopher_fileblob_create(const GitRepo* repo, const char* path);
     10 void gopher_fileblob_free(GopherFileBlob* blob);
     11 void gopher_fileblob_begin(GopherFileBlob* blob);
     12 void gopher_fileblob_add_file(GopherFileBlob* blob, const GitFile* file);
     13 void gopher_fileblob_end(GopherFileBlob* blob);
     14 
     15 #endif  // GITOUT_WRITER_GOPHER_FILEBLOB_H_