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