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

Method share_session

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

Share the session (set share URL)

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

Source from the content-addressed store, hash-verified

543
544 /// Share the session (set share URL)
545 pub fn share_session(&mut self, url: impl Into<String>) {
546 self.share = Some(SessionShare { url: url.into() });
547 self.touch();
548 }
549
550 /// Unshare the session
551 pub fn unshare_session(&mut self) {

Callers 1

test_share_unshareFunction · 0.45

Calls 1

touchMethod · 0.45

Tested by 1

test_share_unshareFunction · 0.36