File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 77 ! Contributors : Nul None <[email protected] > 88 ! |
99 ! Created On : <2024-08-19>
10- ! Last Modified : <2025-08-11 >
10+ ! Last Modified : <2025-08-17 >
1111 ! ---------------------------------------------------------- -->
1212
1313# Write A Recipe Even If You Don't Know C
5252- ` source ` : 该 ` target ` 所能换的具体的源,由 ` mirror ` 提供服务,往往一个 ` mirror ` 会提供许多 ` source `
5353- ` recipe ` : 是为一个 ` target ` 定义的具体换源方法,请参考 ` src ` 目录中的 ` recipe ` 目录
5454
55+ - ` chef DSL ` :是 ` chef Domain Specific Language ` 的简写,这是一组以 ` chef_ ` 开头的函数,用来定义维护者信息、可用源等元信息
56+
5557- ** 换源链接** : 指镜像站所提供的某一个具体的换源使用的URL
5658- ** 测速链接** : 用来测速的URL,与 "换源链接" 不同,可分为 ** 精准测速** 和 ** 模糊测速**
5759
8183
8284 该函数将填充 target 所有的必要信息,包括维护信息、换源信息
8385
84- 7 . [ 设置/修改 "换源 URL " 和 "测速 URL " (how?)] ( ./11-如何设置换源链接与测速链接.md )
86+ 7 . [ 设置/修改 "换源链接 " 和 "测速链接 " (how?)] ( ./11-如何设置换源链接与测速链接.md )
8587
86888 . 按需实现 ` _setsrc() ` ` _getsrc() ` ` _resetsrc() ` , 可以使用这些函数:
8789
You can’t perform that action at this time.
0 commit comments