Skip to main content

Module repo

Module repo 

Source
Expand description

The one place the two repo backends are chosen between, and timed.

Every com.atproto.repo.* call the reader makes goes through here, so the cutover is a single match rather than a swap at twelve call sites — and, just as importantly, both backends are measured at the same boundary by the same wrapper. Timers placed separately on each path would be comparing the timers.

The method list mirrors crate::atproto::SidecarClient’s reader surface exactly, because that is what web.rs already calls. Anything that had to be reshaped to fit would be a divergence between the two clients, and those belong in xrpc.rs where both can share the fix.

Structs§

Repo
A dispatcher bound to one request’s state.