MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / set

Method set

crates/openshell-core/src/proposals.rs:55–58  ·  view source on GitHub ↗
(enabled: bool)

Source from the content-addressed store, hash-verified

53
54 impl ProposalsFlagGuard {
55 pub async fn set(enabled: bool) -> Self {
56 let lock = PROPOSALS_FLAG_LOCK.lock().await;
57 Self::with_lock(enabled, lock)
58 }
59
60 pub fn set_blocking(enabled: bool) -> Self {
61 let lock = PROPOSALS_FLAG_LOCK.blocking_lock();

Callers 7

call_alphaFunction · 0.45
filterGitIgnoredFunction · 0.45
install_token_slotFunction · 0.45
connect_channelFunction · 0.45
token_slotFunction · 0.45
libkrunFunction · 0.45
set_ctxFunction · 0.45

Calls

no outgoing calls

Tested by 1

call_alphaFunction · 0.36