Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ new
Method
new
crates/opencode-tui/src/components/dialogs/timeline.rs:26–32 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
25
impl TimelineDialog {
26
pub fn new() -> Self {
27
Self {
28
entries: Vec::new(),
29
state: ListState::default(),
30
open: false,
31
}
32
}
33
34
pub fn open(&mut self, entries: Vec<TimelineEntry>) {
35
self.entries = entries;
Callers
nothing calls this directly
Calls
1
new
Function · 0.85
Tested by
no test coverage detected