MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / count

Method count

crates/opencode-session/src/session.rs:1118–1120  ·  view source on GitHub ↗

Get session count

(&self)

Source from the content-addressed store, hash-verified

1116
1117 /// Get session count
1118 pub fn count(&self) -> usize {
1119 self.sessions.len()
1120 }
1121
1122 // ========================================================================
1123 // Message/Part Operations with Bus Publishing

Callers 15

truncate_textFunction · 0.80
estimate_tokensMethod · 0.80
trim_for_promptFunction · 0.80
renderMethod · 0.80
newMethod · 0.80
desired_heightMethod · 0.80
render_sectionsMethod · 0.80
truncate_textFunction · 0.80
render_session_footerMethod · 0.80
truncate_for_statusFunction · 0.80
render_unifiedMethod · 0.80

Calls

no outgoing calls