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

Function disable

src-tauri/src/tasks/extension.rs:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33static ENABLED: Lazy<Mutex<bool>> = Lazy::new(|| Mutex::new(true));
34
35pub fn disable() {
36 *ENABLED.lock().unwrap() = false;
37}
38
39struct ExtensionManager {
40 enabled: bool,

Callers 1

parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected