summaryrefslogtreecommitdiff
path: root/src/git.h
blob: 1240b0f21a81eb874e1e1070a68210f5af972283 (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
//
// 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