pub fn connect(
path: impl Into<BString>,
desired_version: Protocol,
trace: bool,
) -> Result<SpawnProcessOnDemand, Infallible>
Available on crate feature
blocking-client
only.Expand description
Connect to a locally readable repository at path
using the given desired_version
.
If trace
is true
, all packetlines received or sent will be passed to the facilities of the gix-trace
crate.
This will spawn a git
process locally.