MCPcopy Create free account
hub / github.com/VSCodeConfigHelper/v4 / nonsupport_check

Function nonsupport_check

src-tauri/src/cli/mod.rs:161–166  ·  view source on GitHub ↗
(name: &'static str, flag: &mut bool)

Source from the content-addressed store, hash-verified

159
160 if !cfg!(windows) {
161 fn nonsupport_check(name: &'static str, flag: &mut bool) {
162 if *flag {
163 warn!("{} 选项在此操作系统上不支持,已忽略。", name);
164 *flag = false;
165 }
166 }
167 nonsupport_check("--ascii-check", &mut args.ascii_check);
168 nonsupport_check("--no-set-env", &mut args.no_set_env);
169 nonsupport_check("--desktop-shortcut", &mut args.desktop_shortcut);

Callers 1

cliFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected