MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / new

Method new

crates/opencode-tui/src/components/dialogs/tag.rs:26–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25impl TagDialog {
26 pub fn new() -> Self {
27 Self {
28 tags: Vec::new(),
29 selected_tags: Vec::new(),
30 state: ListState::default(),
31 open: false,
32 }
33 }
34
35 pub fn open(&mut self) {
36 self.open = true;

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected