files.h (461B)
1 #ifndef GITOUT_WRITER_GOPHER_FILES_H_ 2 #define GITOUT_WRITER_GOPHER_FILES_H_ 3 4 #include "git/file.h" 5 #include "git/repo.h" 6 7 typedef struct GopherFiles GopherFiles; 8 9 GopherFiles* gopher_files_create(const GitRepo* repo); 10 void gopher_files_free(GopherFiles* files); 11 void gopher_files_begin(GopherFiles* files); 12 void gopher_files_add_file(GopherFiles* files, const GitFile* file); 13 void gopher_files_end(GopherFiles* files); 14 15 #endif // GITOUT_WRITER_GOPHER_FILES_H_