Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ close
Method
close
crates/opencode-tui/src/components/permission.rs:145–149 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
143
}
144
145
pub fn close(&mut self) {
146
self.requests.clear();
147
self.current_index = 0;
148
self.is_open = false;
149
}
150
151
pub fn is_empty(&self) -> bool {
152
self.requests.is_empty()
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected