Function git_transport::client::file::connect[][src]

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

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

This will spawn a git process locally.