mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-01-01 12:23:41 +08:00
Add get and feature for ROS
This commit is contained in:
parent
cc88867aae
commit
3e62f2aa85
|
@ -3,13 +3,14 @@
|
||||||
* -------------------------------------------------------------
|
* -------------------------------------------------------------
|
||||||
* File Authors : Heng Guo <2085471348@qq.com>
|
* File Authors : Heng Guo <2085471348@qq.com>
|
||||||
* Contributors : Aoran Zeng <ccmywish@qq.com>
|
* Contributors : Aoran Zeng <ccmywish@qq.com>
|
||||||
* | zouri <guoshuaisun@outlook.com>
|
* | zouri <guoshuaisun@outlook.com>
|
||||||
|
* |
|
||||||
* Created On : <2023-09-03>
|
* Created On : <2023-09-03>
|
||||||
* Last Modified : <2024-12-05>
|
* Last Modified : <2024-12-06>
|
||||||
* ------------------------------------------------------------*/
|
* ------------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @update 2024-12-05
|
* @update 2024-04-18
|
||||||
*/
|
*/
|
||||||
static Source_t os_ros_sources[] =
|
static Source_t os_ros_sources[] =
|
||||||
{
|
{
|
||||||
|
@ -26,9 +27,16 @@ static Source_t os_ros_sources[] =
|
||||||
};
|
};
|
||||||
def_sources_n(os_ros);
|
def_sources_n(os_ros);
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
os_ros_getsrc (char *option)
|
||||||
|
{
|
||||||
|
chsrc_view_file (OS_ROS_SourceList);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 参考:
|
* @consult https://mirrors.tuna.tsinghua.edu.cn/help/ros/
|
||||||
* https://mirrors.tuna.tsinghua.edu.cn/help/ros/
|
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
os_ros_setsrc (char *option)
|
os_ros_setsrc (char *option)
|
||||||
|
@ -52,4 +60,22 @@ os_ros_setsrc (char *option)
|
||||||
chsrc_conclude (&source);
|
chsrc_conclude (&source);
|
||||||
}
|
}
|
||||||
|
|
||||||
def_target_s(os_ros);
|
|
||||||
|
Feature_t
|
||||||
|
os_ros_feat (char *option)
|
||||||
|
{
|
||||||
|
Feature_t f = {0};
|
||||||
|
|
||||||
|
f.can_get = true;
|
||||||
|
f.can_reset = false;
|
||||||
|
|
||||||
|
f.cap_locally = CanNot;
|
||||||
|
f.cap_locally_explain = NULL;
|
||||||
|
f.can_english = true;
|
||||||
|
f.can_user_define = false;
|
||||||
|
|
||||||
|
f.note = "该换源方案中,URL存在拼凑,因此不能手动使用某URL来换源";
|
||||||
|
return f;
|
||||||
|
}
|
||||||
|
|
||||||
|
def_target_gsf(os_ros);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user