git.y1.nz

sgw

Static git web (fork of stagit)
download: https://git.y1.nz/archives/sgw.tar.gz
README | Files | Log | Refs | LICENSE

repo.h

      1 /* This module contains all sgw's logic for extracting repo data. */
      2 
      3 typedef struct _rd {
      4 	const char *dir;
      5 	git_repository *repo;
      6 	const git_oid *head;
      7 	char *name;
      8 	char *repo_name;
      9 	char *description;
     10 	char *url;
     11 	const char *submodules;
     12 	const char *license;
     13 	const char *readme;
     14 	char *owner; /* currently set, but not used */
     15 } RepoData;
     16 
     17 RepoData *alloc_repo_data(const char *repo_dir);
     18 void free_repo_data(RepoData *repo);

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.