diff options
Diffstat (limited to 'src/git.h')
-rw-r--r-- | src/git.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/git.h b/src/git.h new file mode 100644 index 0000000..1240b0f --- /dev/null +++ b/src/git.h @@ -0,0 +1,24 @@ +// +// Created by Anshul Gupta on 4/6/25. +// + +#ifndef GIT_H +#define GIT_H + +#include "config.h" + +struct repo_ctx { + const struct config *cfg; + + /// Name of the repo + const char *name; + /// HTTPS URL of the repo + const char *url; + /// GitHub username for authentication + const char *username; +}; + +int git_mirror_repo(const struct repo_ctx *ctx); + + +#endif // GIT_H |