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

Method new

crates/opencode-storage/src/repository.rs:109–111  ·  view source on GitHub ↗
(pool: SqlitePool)

Source from the content-addressed store, hash-verified

107
108impl SessionRepository {
109 pub fn new(pool: SqlitePool) -> Self {
110 Self { pool }
111 }
112
113 pub async fn create(&self, session: &Session) -> Result<(), DatabaseError> {
114 let summary_diffs = session

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected