pub fn connect(
    path: impl Into<BString>,
    desired_version: Protocol
) -> Result<SpawnProcessOnDemand, Infallible>
Expand description

Connect to a locally readable repository at path using the given desired_version.

This will spawn a git process locally.