blob: ae222b8c0c6e54192719c72b25ce9c44cace5378 (
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
26
|
//
// 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 char *owner;
const char *token;
/// 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
|