Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ unshare_session
Method
unshare_session
crates/opencode-session/src/session.rs:551–554 ·
view source on GitHub ↗
Unshare the session
(&mut self)
Source
from the content-addressed store, hash-verified
549
550
/// Unshare the session
551
pub fn unshare_session(&mut self) {
552
self.share = None;
553
self.touch();
554
}
555
556
/// Compute diff summary from messages
557
pub fn diff(&self) -> Vec<FileDiff> {
Callers
1
test_share_unshare
Function · 0.45
Calls
1
touch
Method · 0.45
Tested by
1
test_share_unshare
Function · 0.36