gout

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

repo.h (417B)


      1 #ifndef GOUT_GIT_REPO_H_
      2 #define GOUT_GIT_REPO_H_
      3 
      4 #include <stddef.h>
      5 #include <time.h>
      6 
      7 typedef struct RepoSpecialFile {
      8   char* label;
      9   char* path;
     10 } RepoSpecialFile;
     11 
     12 typedef struct GitRepo {
     13   char* name;
     14   char* short_name;
     15   char* owner;
     16   char* description;
     17   char* clone_url;
     18 
     19   RepoSpecialFile* special_files;
     20   size_t special_files_len;
     21 
     22   time_t last_commit_time;
     23 } GitRepo;
     24 
     25 #endif  // GOUT_GIT_REPO_H_