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

Method new

crates/opencode-tui/src/context/session_context.rs:138–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136
137impl SessionContext {
138 pub fn new() -> Self {
139 Self::default()
140 }
141
142 pub fn current_session(&self) -> Option<&Session> {
143 self.current_session_id

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected