diff options
author | 2025-06-13 15:55:55 -0700 | |
---|---|---|
committer | 2025-06-13 15:59:55 -0700 | |
commit | 6bf51383587f7d6ff31f253dba5fa6d2209fee6d (patch) | |
tree | c33fe7e87b312e3618aaebe72da6c8bd6a6e6be4 /src/config.h | |
parent | d814e2111a539bacf8be4958a6cea14040490015 (diff) | |
download | github-mirror-6bf51383587f7d6ff31f253dba5fa6d2209fee6d.tar.gz github-mirror-6bf51383587f7d6ff31f253dba5fa6d2209fee6d.tar.zst github-mirror-6bf51383587f7d6ff31f253dba5fa6d2209fee6d.zip |
Add ssh transport option for github
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 4d08b7a..c0beb0a 100644 --- a/src/config.h +++ b/src/config.h @@ -13,11 +13,18 @@ extern const char *config_locations[]; +enum git_transport { + git_transport_https, + git_transport_ssh, +}; + struct github_cfg { /// Whether to skip mirroring fork repositories int skip_forks; /// Whether to skip mirroring private repositories int skip_private; + /// Transport protocol to use for mirroring + enum git_transport transport; // Borrowed /// Github graphql API endpoint |