Function gix::prepare_clone_bare

source ·
pub fn prepare_clone_bare<Url, E>(
    url: Url,
    path: impl AsRef<Path>
) -> Result<PrepareFetch, Error>where
    Url: TryInto<Url, Error = E>,
    Error: From<E>,
Expand description

Create a platform for configuring a bare clone from url to the local path, using default options for opening it (but amended with using configuration from the git installation to ensure all authentication options are honored).

See clone::PrepareFetch::new() for a function to take full control over all options.