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

Method set_title

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

Set the title

(&mut self, title: impl Into<String>)

Source from the content-addressed store, hash-verified

567
568 /// Set the title
569 pub fn set_title(&mut self, title: impl Into<String>) {
570 self.title = title.into();
571 self.touch();
572 }
573
574 /// Set the archived status
575 pub fn set_archived(&mut self, time: Option<i64>) {

Callers 3

set_session_titleFunction · 0.80
update_sessionFunction · 0.80
ensure_titleMethod · 0.80

Calls 1

touchMethod · 0.45

Tested by

no test coverage detected