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

Method set_summary

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

Set the summary

(&mut self, summary: SessionSummary)

Source from the content-addressed store, hash-verified

598
599 /// Set the summary
600 pub fn set_summary(&mut self, summary: SessionSummary) {
601 self.summary = Some(summary);
602 self.touch();
603 }
604
605 /// Set the share information
606 pub fn set_share(&mut self, share: SessionShare) {

Callers 3

set_session_summaryFunction · 0.80
set_session_summaryFunction · 0.80
test_diff_with_summaryFunction · 0.80

Calls 4

publish_session_eventMethod · 0.80
touchMethod · 0.45
get_mutMethod · 0.45
cloneMethod · 0.45

Tested by 1

test_diff_with_summaryFunction · 0.64