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

Method new_with_storage

crates/opencode-server/src/server.rs:134–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 }
133
134 pub async fn new_with_storage() -> anyhow::Result<Self> {
135 Self::new_with_storage_for_url(DEFAULT_SERVER_URL.to_string()).await
136 }
137
138 pub async fn new_with_storage_for_url(server_url: String) -> anyhow::Result<Self> {
139 let mut state = Self::new();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected