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

Method touch

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

Touch the session (update timestamp)

(&mut self)

Source from the content-addressed store, hash-verified

407
408 /// Touch the session (update timestamp)
409 pub fn touch(&mut self) {
410 let now = Utc::now();
411 self.time.updated = now.timestamp_millis();
412 self.updated_at = now;
413 }
414
415 // ========================================================================
416 // Message Operations

Callers 15

add_message_partFunction · 0.45
delete_partFunction · 0.45
stream_messageFunction · 0.45
update_partFunction · 0.45
add_user_messageMethod · 0.45
add_assistant_messageMethod · 0.45
remove_messageMethod · 0.45
update_messageMethod · 0.45
update_partMethod · 0.45
remove_partMethod · 0.45
share_sessionMethod · 0.45
unshare_sessionMethod · 0.45

Calls

no outgoing calls

Tested by 1