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

Method clear_share

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

Clear the share information

(&mut self)

Source from the content-addressed store, hash-verified

610
611 /// Clear the share information
612 pub fn clear_share(&mut self) {
613 self.share = None;
614 self.touch();
615 }
616
617 /// Update usage statistics
618 pub fn update_usage(&mut self, usage: SessionUsage) {

Callers 1

unshareMethod · 0.80

Calls 1

touchMethod · 0.45

Tested by

no test coverage detected