summaryrefslogtreecommitdiff
path: root/src/git.h
blob: 06d3e9277bb1783c2027b76ad6132c6972ef17f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// Created by Anshul Gupta on 4/6/25.
//

#ifndef GIT_H
#define GIT_H

#include "config.h"

struct repo_ctx {
	const char *git_base;
	const struct github_cfg *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, int quiet);


#endif // GIT_H