Repository_Clone_Configuration - SwiftDocOrg/Git GitHub Wiki

Repository.Clone.Configuration

public struct Configuration

Properties

`default`

var `default` = try! Configuration()

checkoutConfiguration

var checkoutConfiguration:​ Repository.Checkout.Configuration

fetchConfiguration

var fetchConfiguration:​ Remote.Fetch.Configuration

bare

Set to zero (false) to create a standard repo, or non-zero for a bare repo

var bare:​ Bool

local

Whether to use a fetch or copy the object database.

var local:​ Local

checkoutBranch

The name of the branch to checkout. NULL means use the remote's default branch.

var checkoutBranch:​ String?