MCPcopy Create free account
hub / github.com/erans/pgsqlite / handle_unix_connection

Function handle_unix_connection

src/main.rs:326–332  ·  view source on GitHub ↗
(
    stream: tokio::net::UnixStream,
    db_handler: Arc<DbHandler>,
)

Source from the content-addressed store, hash-verified

324
325#[cfg(unix)]
326async fn handle_unix_connection(
327 stream: tokio::net::UnixStream,
328 db_handler: Arc<DbHandler>,
329) -> Result<()> {
330 info!("Handling Unix socket connection");
331 handle_connection_generic(stream, "unix-socket", db_handler).await
332}
333
334async fn handle_connection_generic<S>(
335 stream: S,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected