Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ new
Method
new
crates/opencode-server/src/pty.rs:56–60 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
54
55
impl PtyManager {
56
pub fn new() -> Self {
57
Self {
58
sessions: Arc::new(RwLock::new(HashMap::new())),
59
}
60
}
61
62
pub async fn create_session(
63
&self,
Callers
nothing calls this directly
Calls
1
new
Function · 0.85
Tested by
no test coverage detected