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

Method set_share

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

Set the share information

(&mut self, share: SessionShare)

Source from the content-addressed store, hash-verified

604
605 /// Set the share information
606 pub fn set_share(&mut self, share: SessionShare) {
607 self.share = Some(share);
608 self.touch();
609 }
610
611 /// Clear the share information
612 pub fn clear_share(&mut self) {

Callers 1

shareMethod · 0.80

Calls 1

touchMethod · 0.45

Tested by

no test coverage detected