mirror of
https://github.com/RubyMetric/chsrc
synced 2025-12-23 10:59:29 +08:00
Rename struct
This commit is contained in:
@@ -97,10 +97,10 @@ pl_dart_flutter_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls flutter
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_dart_flutter_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
|
||||
@@ -90,10 +90,10 @@ pl_dart_resetsrc (char *option)
|
||||
}
|
||||
|
||||
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_dart_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
|
||||
@@ -90,10 +90,10 @@ pl_go_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls go
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_go_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
|
||||
@@ -53,10 +53,10 @@ pl_julia_setsrc (char *option)
|
||||
}
|
||||
|
||||
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_julia_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = false;
|
||||
|
||||
@@ -62,10 +62,10 @@ pl_nodejs_bun_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls bun
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_nodejs_bun_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
@@ -80,4 +80,4 @@ pl_nodejs_bun_feat (char *option)
|
||||
}
|
||||
|
||||
// def_target_gsrf(pl_nodejs_bun);
|
||||
TargetInfo pl_nodejs_bun_target = {def_target_inner_gsrf(pl_nodejs_bun),def_target_sourcesn(pl_nodejs)};
|
||||
Target_t pl_nodejs_bun_target = {def_target_inner_gsrf(pl_nodejs_bun),def_target_sourcesn(pl_nodejs)};
|
||||
|
||||
@@ -111,10 +111,10 @@ pl_nodejs_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls nodejs
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_nodejs_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
|
||||
@@ -89,10 +89,10 @@ pl_nodejs_yarn_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls yarn
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_nodejs_yarn_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
@@ -107,4 +107,4 @@ pl_nodejs_yarn_feat (char *option)
|
||||
}
|
||||
|
||||
// def_target_gsrf(pl_nodejs_yarn);
|
||||
TargetInfo pl_nodejs_yarn_target = {def_target_inner_gsrf(pl_nodejs_yarn),def_target_sourcesn(pl_nodejs)};
|
||||
Target_t pl_nodejs_yarn_target = {def_target_inner_gsrf(pl_nodejs_yarn),def_target_sourcesn(pl_nodejs)};
|
||||
|
||||
@@ -58,10 +58,10 @@ pl_nodejs_npm_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls npm
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_nodejs_npm_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
@@ -76,4 +76,4 @@ pl_nodejs_npm_feat (char *option)
|
||||
}
|
||||
|
||||
// def_target_gsrf(pl_nodejs_npm);
|
||||
TargetInfo pl_nodejs_npm_target = {def_target_inner_gsrf(pl_nodejs_npm),def_target_sourcesn(pl_nodejs)};
|
||||
Target_t pl_nodejs_npm_target = {def_target_inner_gsrf(pl_nodejs_npm),def_target_sourcesn(pl_nodejs)};
|
||||
|
||||
@@ -61,10 +61,10 @@ pl_nodejs_nvm_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls nvm
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_nodejs_nvm_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = false;
|
||||
@@ -79,4 +79,4 @@ pl_nodejs_nvm_feat (char *option)
|
||||
}
|
||||
|
||||
// def_target_gsrf(pl_nodejs_nvm);
|
||||
TargetInfo pl_nodejs_nvm_target = {def_target_inner_gsrf(pl_nodejs_nvm),def_target_sourcesn(pl_nodejs_binary_release)};
|
||||
Target_t pl_nodejs_nvm_target = {def_target_inner_gsrf(pl_nodejs_nvm),def_target_sourcesn(pl_nodejs_binary_release)};
|
||||
|
||||
@@ -59,10 +59,10 @@ pl_nodejs_pnpm_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls pnpm
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_nodejs_pnpm_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
@@ -78,4 +78,4 @@ pl_nodejs_pnpm_feat (char *option)
|
||||
|
||||
|
||||
// def_target_gsrf(pl_nodejs_pnpm);
|
||||
TargetInfo pl_nodejs_pnpm_target = {def_target_inner_gsrf(pl_nodejs_pnpm),def_target_sourcesn(pl_nodejs)};
|
||||
Target_t pl_nodejs_pnpm_target = {def_target_inner_gsrf(pl_nodejs_pnpm),def_target_sourcesn(pl_nodejs)};
|
||||
|
||||
@@ -61,10 +61,10 @@ pl_php_setsrc (char *option)
|
||||
}
|
||||
|
||||
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_php_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = false;
|
||||
|
||||
@@ -60,10 +60,10 @@ pl_python_pdm_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls pdm
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_python_pdm_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
@@ -80,4 +80,4 @@ pl_python_pdm_feat (char *option)
|
||||
}
|
||||
|
||||
// def_target_gsrf(pl_python_pdm);
|
||||
TargetInfo pl_python_pdm_target = {def_target_inner_gsrf(pl_python_pdm),def_target_sourcesn(pl_python)};
|
||||
Target_t pl_python_pdm_target = {def_target_inner_gsrf(pl_python_pdm),def_target_sourcesn(pl_python)};
|
||||
|
||||
@@ -58,10 +58,10 @@ pl_python_poetry_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls poetry
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_python_poetry_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
@@ -76,4 +76,4 @@ pl_python_poetry_feat (char *option)
|
||||
}
|
||||
|
||||
// def_target_gsrf(pl_python_poetry);
|
||||
TargetInfo pl_python_poetry_target = {def_target_inner_gsrf(pl_python_poetry),def_target_sourcesn(pl_python)};
|
||||
Target_t pl_python_poetry_target = {def_target_inner_gsrf(pl_python_poetry),def_target_sourcesn(pl_python)};
|
||||
|
||||
@@ -81,10 +81,10 @@ pl_python_resetsrc (char *option)
|
||||
}
|
||||
|
||||
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_python_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
|
||||
@@ -70,10 +70,10 @@ pl_python_pip_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls pip
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_python_pip_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
@@ -89,4 +89,4 @@ pl_python_pip_feat (char *option)
|
||||
}
|
||||
|
||||
// def_target_gsrf(pl_python_pip);
|
||||
TargetInfo pl_python_pip_target = {def_target_inner_gsrf(pl_python_pip),def_target_sourcesn(pl_python)};
|
||||
Target_t pl_python_pip_target = {def_target_inner_gsrf(pl_python_pip),def_target_sourcesn(pl_python)};
|
||||
|
||||
@@ -97,10 +97,10 @@ pl_ruby_resetsrc (char *option)
|
||||
}
|
||||
|
||||
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_ruby_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
|
||||
@@ -70,10 +70,10 @@ pl_rust_cargo_resetsrc (char *option)
|
||||
}
|
||||
|
||||
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_rust_cargo_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = true;
|
||||
|
||||
@@ -98,10 +98,10 @@ pl_rust_rustup_resetsrc (char *option)
|
||||
/**
|
||||
* chsrc ls rustup
|
||||
*/
|
||||
FeatInfo
|
||||
Feature_t
|
||||
pl_rust_rustup_feat (char *option)
|
||||
{
|
||||
FeatInfo f = {0};
|
||||
Feature_t f = {0};
|
||||
|
||||
f.can_get = true;
|
||||
f.can_reset = false;
|
||||
|
||||
Reference in New Issue
Block a user