MCPcopy Index your code
hub / github.com/enowdev/enowX-Coder / new

Method new

src-tauri/src/state.rs:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21impl PermissionState {
22 pub fn new() -> Self {
23 Self {
24 pending: Arc::new(Mutex::new(HashMap::new())),
25 }
26 }
27
28 pub fn register(&self, agent_run_id: String) -> oneshot::Receiver<bool> {
29 let (tx, rx) = oneshot::channel();

Callers

nothing calls this directly

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected