mirror of
https://github.com/RubyMetric/chsrc
synced 2025-12-27 21:19:31 +08:00
Rename struct
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
* @time 2023-09-10 更新
|
||||
* @note 这些链接将会在setsrc函数中补充完整
|
||||
*/
|
||||
static SourceInfo
|
||||
static Source_t
|
||||
wr_anaconda_sources[] = {
|
||||
{&UpstreamProvider, "https://repo.anaconda.com/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/anaconda/"},
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/**
|
||||
* @time 2024-06-08 更新
|
||||
*/
|
||||
static SourceInfo
|
||||
static Source_t
|
||||
wr_cocoapods_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git"},
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* Last Modified : <2024-11-22>
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
static MirrorSite
|
||||
static MirrorSite_t
|
||||
DaoCloud = {
|
||||
"daocloud", "DaoCloud","上海道客网络科技有限公司", "https://www.daocloud.io/",
|
||||
// 没有找到 DaoCloud 合适的下载链接,先随便给一个,以规避 chsrc 自动测速时所有 dockerhub 镜像站都没有测速链接带来的 bug
|
||||
@@ -36,7 +36,7 @@ Huecker = {
|
||||
* @consult https://gist.github.com/y0ngb1n/7e8f16af3242c7815e7ca2f0833d3ea6
|
||||
*/
|
||||
|
||||
static SourceInfo
|
||||
static Source_t
|
||||
wr_dockerhub_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
// {&Ustc, "https://docker.mirrors.ustc.edu.cn/"},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Last Modified : <2024-11-21>
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
static MirrorSite
|
||||
static MirrorSite_t
|
||||
EmacsChina = {
|
||||
"emacschina", "EmacsChina", "Emacs China 社区", "https://elpamirror.emacs-china.org/",
|
||||
{SKIP, ToFill, ToFill, NULL}
|
||||
@@ -17,7 +17,7 @@ EmacsChina = {
|
||||
* @update 2023-09-10
|
||||
* @note Emacs用户往往只需要一次性换源,只会极少次调用 chsrc,我们只给用户提供文档
|
||||
*/
|
||||
SourceInfo
|
||||
Source_t
|
||||
wr_emacs_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/docs/emacs-elpa"},
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* @update 2023-09-11
|
||||
* @note 目前只有一个源
|
||||
*/
|
||||
static SourceInfo
|
||||
static Source_t
|
||||
wr_flathub_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/flathub"},
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* @update 2023-09-11
|
||||
* @note 目前只有一个源
|
||||
*/
|
||||
static SourceInfo
|
||||
static Source_t
|
||||
wr_guix_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/git/guix.git"}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* 2. 不确定 Sustech 能否工作
|
||||
* }
|
||||
*/
|
||||
static SourceInfo
|
||||
static Source_t
|
||||
wr_homebrew_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/"},
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* 2. 这些链接将会在setsrc函数中补充完整
|
||||
* }
|
||||
*/
|
||||
static SourceInfo
|
||||
static Source_t
|
||||
wr_nix_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/nix-channels/"}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/**
|
||||
* @update 2023-09-10
|
||||
*/
|
||||
static SourceInfo
|
||||
static Source_t
|
||||
wr_tex_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/ctan/systems/texlive/tlnet"},
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* @update 2024-06-07
|
||||
* @note 目前仅有一个源
|
||||
*/
|
||||
static SourceInfo
|
||||
static Source_t
|
||||
wr_winget_sources[] = {
|
||||
{&UpstreamProvider, "https://cdn.winget.microsoft.com/cache"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/winget-source"},
|
||||
|
||||
Reference in New Issue
Block a user