fileblob.h (595B)
1 #ifndef GOUT_WRITER_HTML_FILEBLOB_H_ 2 #define GOUT_WRITER_HTML_FILEBLOB_H_ 3 4 #include "git/file.h" 5 #include "git/repo.h" 6 #include "utils.h" 7 8 typedef struct HtmlFileBlob HtmlFileBlob; 9 10 HtmlFileBlob* html_fileblob_create(const GitRepo* repo, 11 const FileSystem* fs, 12 const char* path); 13 void html_fileblob_free(HtmlFileBlob* blob); 14 void html_fileblob_begin(HtmlFileBlob* blob); 15 void html_fileblob_add_file(HtmlFileBlob* blob, const GitFile* file); 16 void html_fileblob_end(HtmlFileBlob* blob); 17 18 #endif // GOUT_WRITER_HTML_FILEBLOB_H_